(0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.9ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.2ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.5ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 01:13:08.854955"], ["updated_at", "2019-01-19 01:13:08.854955"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 01:13:08.858446"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Started GET "/" for 127.0.0.1 at 2019-01-19 14:23:49 +1100  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (27.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Rendered layouts/_flash.html.slim (15.2ms) Completed 200 OK in 1231ms (Views: 1226.2ms | ActiveRecord: 1.5ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-19 14:23:57 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (1.9ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (6570.2ms) Rendered layouts/_flash.html.slim (13.9ms) Completed 200 OK in 6697ms (Views: 6693.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-19 14:24:18 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rPpV1oyHTcpIaWSZh/I0AgutJCnQR+1jaL+qLUlF77U8Lec4iLjPW0gXq+IMRinNgzu/wZRMCX+ktmWajDPo1w==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 140ms (ActiveRecord: 0.3ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-19 14:24:18 +1100 Processing by ReportsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.2ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Authz::ScopingRule Load (0.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.2ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.3ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" WHERE "cities"."id" = ? AND "clearances"."id" = ? ORDER BY cities.name ASC [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 4], ["id", 2]] ↳ app/views/reports/index.html.slim:18 City Load (0.3ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? [["id", 1]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.3ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" = ? [["id", 2]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.1ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.1ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.1ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.1ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.1ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendered reports/index.html.slim within layouts/application (546.9ms) Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (45.6ms) Rendered layouts/_flash.html.slim (16.5ms) Completed 200 OK in 14828ms (Views: 703.2ms | ActiveRecord: 17.5ms) Started GET "/authz" for 127.0.0.1 at 2019-01-19 14:24:55 +1100 Processing by Authz::HomeController#index as HTML Authz::ControllerAction Load (0.4ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.2ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.3ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.3ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.2ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.3ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (198.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (59.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (29.3ms) Completed 200 OK in 583ms (Views: 501.6ms | ActiveRecord: 9.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-19 14:24:59 +1100 Processing by Authz::RolesController#index as HTML Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (20.3ms)  (0.3ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [9 times] (41.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (105.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (159.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (49.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (29.2ms) Completed 200 OK in 25558ms (Views: 407.5ms | ActiveRecord: 0.6ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-19 14:26:37 +1100  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 ActionController::RoutingError (No route matches [GET] "/authz/roles"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/mimi" for 127.0.0.1 at 2019-01-19 14:26:46 +1100 Processing by Authz::HomeController#index as HTML Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.2ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.2ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.2ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.2ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.2ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (3436.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (49.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (28.2ms) Completed 200 OK in 4446ms (Views: 4357.5ms | ActiveRecord: 11.7ms) Started GET "/mimi/roles" for 127.0.0.1 at 2019-01-19 14:26:52 +1100 Processing by Authz::RolesController#index as HTML Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [9 times] (4.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (25.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (40.8ms) Completed 401 Unauthorized in 50779ms (ActiveRecord: 0.7ms)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.6ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (1.0ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.2ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.9ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (1.3ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.2ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (1.4ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (1.2ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (1.0ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.2ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (1.3ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (1.0ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (1.0ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (1.0ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (1.0ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (1.0ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.9ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.9ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (1.0ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.9ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.8ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 03:41:22.359560"], ["updated_at", "2019-01-19 03:41:22.359560"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 03:41:22.363060"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 04:05:59.155184"], ["updated_at", "2019-01-19 04:05:59.155184"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 04:05:59.162249"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') LIMIT ? [["LIMIT", 11]]  (0.0ms) begin transaction Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] Authz::ControllerAction Create (0.7ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 05:00:00.404103"], ["updated_at", "2019-01-19 05:00:00.404103"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 05:00:00.407654"], ["updated_at", "2019-01-19 05:00:00.407654"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 05:00:00.410270"], ["updated_at", "2019-01-19 05:00:00.410270"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.412839"], ["updated_at", "2019-01-19 05:00:00.412839"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 05:00:00.415126"], ["updated_at", "2019-01-19 05:00:00.415126"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 05:00:00.417659"], ["updated_at", "2019-01-19 05:00:00.417659"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 05:00:00.420063"], ["updated_at", "2019-01-19 05:00:00.420063"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 05:00:00.422221"], ["updated_at", "2019-01-19 05:00:00.422221"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 05:00:00.424217"], ["updated_at", "2019-01-19 05:00:00.424217"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 05:00:00.426362"], ["updated_at", "2019-01-19 05:00:00.426362"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.428717"], ["updated_at", "2019-01-19 05:00:00.428717"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 05:00:00.430838"], ["updated_at", "2019-01-19 05:00:00.430838"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 05:00:00.432929"], ["updated_at", "2019-01-19 05:00:00.432929"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 05:00:00.434924"], ["updated_at", "2019-01-19 05:00:00.434924"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 05:00:00.436842"], ["updated_at", "2019-01-19 05:00:00.436842"]]  (1.0ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 05:00:00.439463"], ["updated_at", "2019-01-19 05:00:00.439463"]]  (0.7ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.441742"], ["updated_at", "2019-01-19 05:00:00.441742"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 05:00:00.443734"], ["updated_at", "2019-01-19 05:00:00.443734"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 05:00:00.449222"], ["updated_at", "2019-01-19 05:00:00.449222"]]  (0.4ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 05:00:00.451467"], ["updated_at", "2019-01-19 05:00:00.451467"]]  (0.4ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 05:00:00.453458"], ["updated_at", "2019-01-19 05:00:00.453458"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.455681"], ["updated_at", "2019-01-19 05:00:00.455681"]]  (0.4ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 05:00:00.457685"], ["updated_at", "2019-01-19 05:00:00.457685"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 05:00:00.459652"], ["updated_at", "2019-01-19 05:00:00.459652"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 05:00:00.461882"], ["updated_at", "2019-01-19 05:00:00.461882"]]  (0.6ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 05:00:00.463983"], ["updated_at", "2019-01-19 05:00:00.463983"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.465945"], ["updated_at", "2019-01-19 05:00:00.465945"]]  (0.4ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.467784"], ["updated_at", "2019-01-19 05:00:00.467784"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.469807"], ["updated_at", "2019-01-19 05:00:00.469807"]]  (0.4ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 05:00:00.471855"], ["updated_at", "2019-01-19 05:00:00.471855"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 05:00:00.473864"], ["updated_at", "2019-01-19 05:00:00.473864"]]  (0.4ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 05:00:00.475660"], ["updated_at", "2019-01-19 05:00:00.475660"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 05:00:00.477617"], ["updated_at", "2019-01-19 05:00:00.477617"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 05:00:00.479513"], ["updated_at", "2019-01-19 05:00:00.479513"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 05:00:00.481366"], ["updated_at", "2019-01-19 05:00:00.481366"]]  (0.5ms) commit transaction  (0.0ms) begin transaction Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 05:00:00.483409"], ["updated_at", "2019-01-19 05:00:00.483409"]]  (0.5ms) commit transaction Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') LIMIT ? [["LIMIT", 11]]  (0.1ms) begin transaction Authz::BusinessProcess Exists (0.4ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 05:00:45.397196"], ["updated_at", "2019-01-19 05:00:45.397196"]]  (0.6ms) commit transaction Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%')  (0.0ms) begin transaction Authz::BusinessProcessHasControllerAction Exists (0.5ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.6ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.571026"], ["updated_at", "2019-01-19 05:00:48.571026"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.573223"], ["updated_at", "2019-01-19 05:00:48.573223"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.574625"], ["updated_at", "2019-01-19 05:00:48.574625"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.575958"], ["updated_at", "2019-01-19 05:00:48.575958"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.577285"], ["updated_at", "2019-01-19 05:00:48.577285"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.578583"], ["updated_at", "2019-01-19 05:00:48.578583"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.579977"], ["updated_at", "2019-01-19 05:00:48.579977"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.581164"], ["updated_at", "2019-01-19 05:00:48.581164"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.582274"], ["updated_at", "2019-01-19 05:00:48.582274"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.583528"], ["updated_at", "2019-01-19 05:00:48.583528"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.584625"], ["updated_at", "2019-01-19 05:00:48.584625"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.585717"], ["updated_at", "2019-01-19 05:00:48.585717"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.586790"], ["updated_at", "2019-01-19 05:00:48.586790"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.587889"], ["updated_at", "2019-01-19 05:00:48.587889"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.588949"], ["updated_at", "2019-01-19 05:00:48.588949"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.589942"], ["updated_at", "2019-01-19 05:00:48.589942"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.590860"], ["updated_at", "2019-01-19 05:00:48.590860"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.592039"], ["updated_at", "2019-01-19 05:00:48.592039"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.593101"], ["updated_at", "2019-01-19 05:00:48.593101"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.594195"], ["updated_at", "2019-01-19 05:00:48.594195"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.595168"], ["updated_at", "2019-01-19 05:00:48.595168"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.596117"], ["updated_at", "2019-01-19 05:00:48.596117"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.597078"], ["updated_at", "2019-01-19 05:00:48.597078"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.598028"], ["updated_at", "2019-01-19 05:00:48.598028"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.598954"], ["updated_at", "2019-01-19 05:00:48.598954"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.599894"], ["updated_at", "2019-01-19 05:00:48.599894"]] Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.600859"], ["updated_at", "2019-01-19 05:00:48.600859"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.601805"], ["updated_at", "2019-01-19 05:00:48.601805"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.602710"], ["updated_at", "2019-01-19 05:00:48.602710"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.603677"], ["updated_at", "2019-01-19 05:00:48.603677"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.604675"], ["updated_at", "2019-01-19 05:00:48.604675"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.605600"], ["updated_at", "2019-01-19 05:00:48.605600"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.606502"], ["updated_at", "2019-01-19 05:00:48.606502"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.607411"], ["updated_at", "2019-01-19 05:00:48.607411"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.608333"], ["updated_at", "2019-01-19 05:00:48.608333"]] Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:00:48.609359"], ["updated_at", "2019-01-19 05:00:48.609359"]]  (0.9ms) commit transaction Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_business_process_id", 9], ["LIMIT", 11]] Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_business_process_id", 9], ["LIMIT", 11]]  (0.1ms) begin transaction Authz::Role Exists (1.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "auth_admin"], ["LIMIT", 1]] Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Auth Admin"], ["LIMIT", 1]] Authz::Role Create (0.4ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "auth_admin"], ["name", "Auth Admin"], ["description", "Auth Admin"], ["created_at", "2019-01-19 05:02:36.505888"], ["updated_at", "2019-01-19 05:02:36.505888"]]  (0.9ms) commit transaction  (0.0ms) begin transaction Authz::RoleHasBusinessProcess Exists (0.7ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 10], ["LIMIT", 1]] Authz::RoleHasBusinessProcess Create (0.7ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 10], ["created_at", "2019-01-19 05:02:36.519886"], ["updated_at", "2019-01-19 05:02:36.519886"]]  (0.8ms) commit transaction Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_role_id", 10], ["LIMIT", 11]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (1.0ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.6ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 05:02:53.827160"], ["updated_at", "2019-01-19 05:02:53.827160"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4  (0.0ms) commit transaction ↳ bin/rails:4  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.7ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.2ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.2ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.9ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.9ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.9ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.9ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (1.1ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016);  ↳ db/schema.rb:13  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 05:02:53.881822"], ["updated_at", "2019-01-19 05:02:53.881822"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 05:02:53.884143"], ["key", "environment"]] ↳ bin/rails:4  (0.4ms) commit transaction ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$ON7jBiJ.TkZtx6ioDhj7WuKbC1soHzWHz2kokrTSO66.DdyOHL3yy"], ["created_at", "2019-01-19 05:02:54.005243"], ["updated_at", "2019-01-19 05:02:54.005243"]] ↳ db/seeds.rb:3  (0.6ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$PbSlOF8Idl6K7iEegg3Za.wQeP9aouHawh2cem.eb1EuMGNmUYSKq"], ["created_at", "2019-01-19 05:02:54.101736"], ["updated_at", "2019-01-19 05:02:54.101736"]] ↳ db/seeds.rb:4  (0.8ms) commit transaction ↳ db/seeds.rb:4  (0.1ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$Oq9kRlhqI56.MYsgMCTdjuslVslLCmag3BPF3r.pWunhsmPVZ4Wwe"], ["created_at", "2019-01-19 05:02:54.199552"], ["updated_at", "2019-01-19 05:02:54.199552"]] ↳ db/seeds.rb:5  (0.9ms) commit transaction ↳ db/seeds.rb:5  (0.1ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$T8q.m.cJ3QbkXXcX6DJwDOOjSjE3umd7.D2UfkcSxMMG7kueFV38a"], ["created_at", "2019-01-19 05:02:54.298372"], ["updated_at", "2019-01-19 05:02:54.298372"]] ↳ db/seeds.rb:6  (0.8ms) commit transaction ↳ db/seeds.rb:6  (0.1ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$qgYVfCp1f8XE5eF6Ty0BjOOMTCxWh12qLoPY4turovLxSv9Ty6bJ6"], ["created_at", "2019-01-19 05:02:54.398261"], ["updated_at", "2019-01-19 05:02:54.398261"]] ↳ db/seeds.rb:7  (0.5ms) commit transaction ↳ db/seeds.rb:7  (0.1ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$7dN61nOZIsyxmCoblZ38/e.ID2tbRNvfTj8Y97IJV2Z4nn1zY15Aq"], ["created_at", "2019-01-19 05:02:54.495404"], ["updated_at", "2019-01-19 05:02:54.495404"]] ↳ db/seeds.rb:8  (0.5ms) commit transaction ↳ db/seeds.rb:8  (0.1ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$WyQ5dQcLhNTyZ9/oy1gdaO3LYDEiPICJMC1zEhq2B9ej0Kr9rS4b."], ["created_at", "2019-01-19 05:02:54.595263"], ["updated_at", "2019-01-19 05:02:54.595263"]] ↳ db/seeds.rb:9  (0.9ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.4ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 05:02:54.604256"], ["updated_at", "2019-01-19 05:02:54.604256"]] ↳ db/seeds.rb:13  (0.5ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 05:02:54.607135"], ["updated_at", "2019-01-19 05:02:54.607135"]] ↳ db/seeds.rb:14  (0.5ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 05:02:54.615822"], ["updated_at", "2019-01-19 05:02:54.615822"]] ↳ db/seeds.rb:18  (0.5ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 05:02:54.617780"], ["updated_at", "2019-01-19 05:02:54.617780"]] ↳ db/seeds.rb:19  (0.5ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Molestiae atque suscipit et."], ["body", "Est vero et. Laudantium vel quia. Ipsa id soluta."], ["created_at", "2019-01-19 05:02:55.084708"], ["updated_at", "2019-01-19 05:02:55.084708"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 05:02:55.094654"], ["updated_at", "2019-01-19 05:02:55.094654"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 05:02:55.096527"], ["updated_at", "2019-01-19 05:02:55.096527"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Est non animi voluptas."], ["body", "Ratione velit non. Eveniet explicabo in. Sed soluta at."], ["created_at", "2019-01-19 05:02:55.098500"], ["updated_at", "2019-01-19 05:02:55.098500"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 05:02:55.100204"], ["updated_at", "2019-01-19 05:02:55.100204"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 05:02:55.101843"], ["updated_at", "2019-01-19 05:02:55.101843"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Deserunt fugit et totam."], ["body", "Beatae quaerat accusamus. Laborum commodi sit. Autem qui dolorum."], ["created_at", "2019-01-19 05:02:55.103754"], ["updated_at", "2019-01-19 05:02:55.103754"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 05:02:55.105683"], ["updated_at", "2019-01-19 05:02:55.105683"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 05:02:55.107537"], ["updated_at", "2019-01-19 05:02:55.107537"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Dolore cupiditate ex eligendi."], ["body", "Error reiciendis explicabo. Nihil maxime aliquam. Odio nesciunt eos."], ["created_at", "2019-01-19 05:02:55.109558"], ["updated_at", "2019-01-19 05:02:55.109558"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 05:02:55.111583"], ["updated_at", "2019-01-19 05:02:55.111583"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 05:02:55.113149"], ["updated_at", "2019-01-19 05:02:55.113149"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "At molestiae aspernatur fugit."], ["body", "Ab omnis consequuntur. Et suscipit voluptatem. Dolore error amet."], ["created_at", "2019-01-19 05:02:55.115222"], ["updated_at", "2019-01-19 05:02:55.115222"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 05:02:55.117112"], ["updated_at", "2019-01-19 05:02:55.117112"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 05:02:55.118794"], ["updated_at", "2019-01-19 05:02:55.118794"]] ↳ db/seeds.rb:27  (0.4ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quia et laudantium et."], ["body", "Voluptatem et nemo. Ea reprehenderit ipsum. Saepe doloribus dolor."], ["created_at", "2019-01-19 05:02:55.120598"], ["updated_at", "2019-01-19 05:02:55.120598"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 05:02:55.122324"], ["updated_at", "2019-01-19 05:02:55.122324"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 05:02:55.123870"], ["updated_at", "2019-01-19 05:02:55.123870"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Rerum molestiae vel ipsa."], ["body", "Qui aut libero. Minus est facilis. Fuga minima et."], ["created_at", "2019-01-19 05:02:55.125712"], ["updated_at", "2019-01-19 05:02:55.125712"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 05:02:55.127843"], ["updated_at", "2019-01-19 05:02:55.127843"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 05:02:55.129598"], ["updated_at", "2019-01-19 05:02:55.129598"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Dolore sequi et enim."], ["body", "Et quis pariatur. Hic necessitatibus minima. Natus culpa voluptatem."], ["created_at", "2019-01-19 05:02:55.131430"], ["updated_at", "2019-01-19 05:02:55.131430"]] ↳ db/seeds.rb:29  (0.4ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 05:02:55.133084"], ["updated_at", "2019-01-19 05:02:55.133084"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 05:02:55.134592"], ["updated_at", "2019-01-19 05:02:55.134592"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Molestiae expedita autem sit."], ["body", "Rerum veritatis voluptas. Velit consequatur et. Aut labore cumque."], ["created_at", "2019-01-19 05:02:55.136576"], ["updated_at", "2019-01-19 05:02:55.136576"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 05:02:55.138539"], ["updated_at", "2019-01-19 05:02:55.138539"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 05:02:55.140265"], ["updated_at", "2019-01-19 05:02:55.140265"]] ↳ db/seeds.rb:27  (0.4ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Aut et ut ea."], ["body", "Debitis quam libero. Qui iusto fugiat. Consequatur aut similique."], ["created_at", "2019-01-19 05:02:55.141967"], ["updated_at", "2019-01-19 05:02:55.141967"]] ↳ db/seeds.rb:29  (0.4ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 05:02:55.143534"], ["updated_at", "2019-01-19 05:02:55.143534"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 05:02:55.144948"], ["updated_at", "2019-01-19 05:02:55.144948"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Velit quas ut inventore."], ["body", "Recusandae expedita error. Beatae quam corporis. Voluptatem inventore aut."], ["created_at", "2019-01-19 05:02:55.146674"], ["updated_at", "2019-01-19 05:02:55.146674"]] ↳ db/seeds.rb:37  (0.4ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 05:02:55.148326"], ["updated_at", "2019-01-19 05:02:55.148326"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 05:02:55.150055"], ["updated_at", "2019-01-19 05:02:55.150055"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Quia facilis possimus reprehenderit."], ["body", "Ullam fugiat nostrum. Aliquam aut dolorem. Pariatur et autem."], ["created_at", "2019-01-19 05:02:55.151885"], ["updated_at", "2019-01-19 05:02:55.151885"]] ↳ db/seeds.rb:41  (0.4ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 05:02:55.153469"], ["updated_at", "2019-01-19 05:02:55.153469"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 05:02:55.154963"], ["updated_at", "2019-01-19 05:02:55.154963"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Sed facere voluptatem in."], ["body", "Reprehenderit deleniti quisquam. Dolor dolorem incidunt. Saepe consequuntur ea."], ["created_at", "2019-01-19 05:02:55.156662"], ["updated_at", "2019-01-19 05:02:55.156662"]] ↳ db/seeds.rb:37  (0.4ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 05:02:55.158282"], ["updated_at", "2019-01-19 05:02:55.158282"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 05:02:55.159857"], ["updated_at", "2019-01-19 05:02:55.159857"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Ut vel earum excepturi."], ["body", "Quia nostrum cupiditate. Optio rerum reiciendis. Iure similique ratione."], ["created_at", "2019-01-19 05:02:55.161931"], ["updated_at", "2019-01-19 05:02:55.161931"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 05:02:55.163679"], ["updated_at", "2019-01-19 05:02:55.163679"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 05:02:55.165272"], ["updated_at", "2019-01-19 05:02:55.165272"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Omnis culpa omnis libero."], ["body", "Sint sit dolores. Modi unde dolorem. Deserunt ducimus cum."], ["created_at", "2019-01-19 05:02:55.167112"], ["updated_at", "2019-01-19 05:02:55.167112"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 05:02:55.168842"], ["updated_at", "2019-01-19 05:02:55.168842"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 05:02:55.170438"], ["updated_at", "2019-01-19 05:02:55.170438"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Incidunt quasi mollitia velit."], ["body", "Ratione voluptatem rem. Enim qui amet. Laborum odit nulla."], ["created_at", "2019-01-19 05:02:55.172432"], ["updated_at", "2019-01-19 05:02:55.172432"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 05:02:55.174216"], ["updated_at", "2019-01-19 05:02:55.174216"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 05:02:55.175840"], ["updated_at", "2019-01-19 05:02:55.175840"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nam rerum aut perspiciatis."], ["body", "Quibusdam maxime aliquid. Minima dolores non. Porro ab magnam."], ["created_at", "2019-01-19 05:02:55.177692"], ["updated_at", "2019-01-19 05:02:55.177692"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 05:02:55.179326"], ["updated_at", "2019-01-19 05:02:55.179326"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 05:02:55.180844"], ["updated_at", "2019-01-19 05:02:55.180844"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptatum illum quo omnis."], ["body", "Quaerat culpa praesentium. Possimus sed cumque. Labore esse eius."], ["created_at", "2019-01-19 05:02:55.182768"], ["updated_at", "2019-01-19 05:02:55.182768"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 05:02:55.184514"], ["updated_at", "2019-01-19 05:02:55.184514"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 05:02:55.186055"], ["updated_at", "2019-01-19 05:02:55.186055"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ut est sed consectetur."], ["body", "Commodi eveniet inventore. Deleniti ratione nihil. Debitis iure possimus."], ["created_at", "2019-01-19 05:02:55.187814"], ["updated_at", "2019-01-19 05:02:55.187814"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 05:02:55.189547"], ["updated_at", "2019-01-19 05:02:55.189547"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 05:02:55.191081"], ["updated_at", "2019-01-19 05:02:55.191081"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Nisi aut id voluptas."], ["body", "Dicta aliquid nihil. Cupiditate sunt dolore. Qui optio deserunt."], ["created_at", "2019-01-19 05:02:55.192925"], ["updated_at", "2019-01-19 05:02:55.192925"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 05:02:55.194620"], ["updated_at", "2019-01-19 05:02:55.194620"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 05:02:55.196311"], ["updated_at", "2019-01-19 05:02:55.196311"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Voluptate ullam hic rerum."], ["body", "Ut ipsum quasi. Culpa enim ad. Voluptas consectetur eos."], ["created_at", "2019-01-19 05:02:55.198161"], ["updated_at", "2019-01-19 05:02:55.198161"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 05:02:55.199835"], ["updated_at", "2019-01-19 05:02:55.199835"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 05:02:55.201335"], ["updated_at", "2019-01-19 05:02:55.201335"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Eos id sit possimus."], ["body", "Inventore totam repellendus. Ad dicta ducimus. Dolor dolor occaecati."], ["created_at", "2019-01-19 05:02:55.203108"], ["updated_at", "2019-01-19 05:02:55.203108"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 05:02:55.204916"], ["updated_at", "2019-01-19 05:02:55.204916"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 05:02:55.206677"], ["updated_at", "2019-01-19 05:02:55.206677"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Sit quam libero voluptate."], ["body", "Facere amet perspiciatis. Officiis reprehenderit ut. Eveniet vel excepturi."], ["created_at", "2019-01-19 05:02:55.208406"], ["updated_at", "2019-01-19 05:02:55.208406"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 05:02:55.210109"], ["updated_at", "2019-01-19 05:02:55.210109"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 05:02:55.211600"], ["updated_at", "2019-01-19 05:02:55.211600"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Aut officiis adipisci et."], ["body", "Itaque voluptate aliquam. Error neque exercitationem. Eos ullam nemo."], ["created_at", "2019-01-19 05:02:55.213289"], ["updated_at", "2019-01-19 05:02:55.213289"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 05:02:55.215088"], ["updated_at", "2019-01-19 05:02:55.215088"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 05:02:55.216726"], ["updated_at", "2019-01-19 05:02:55.216726"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Perspiciatis dolor temporibus vitae."], ["body", "Voluptatibus ipsa ab. At saepe facere. Delectus id facere."], ["created_at", "2019-01-19 05:02:55.218506"], ["updated_at", "2019-01-19 05:02:55.218506"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 05:02:55.220441"], ["updated_at", "2019-01-19 05:02:55.220441"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 05:02:55.222401"], ["updated_at", "2019-01-19 05:02:55.222401"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Cupiditate maiores sed voluptatem."], ["body", "Laudantium eius qui. Est est nostrum. Quo tenetur est."], ["created_at", "2019-01-19 05:02:55.224704"], ["updated_at", "2019-01-19 05:02:55.224704"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 05:02:55.227255"], ["updated_at", "2019-01-19 05:02:55.227255"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 05:02:55.229154"], ["updated_at", "2019-01-19 05:02:55.229154"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Ducimus et qui quis."], ["body", "Maiores rerum in. Nulla ut neque. Consequatur necessitatibus repellendus."], ["created_at", "2019-01-19 05:02:55.231045"], ["updated_at", "2019-01-19 05:02:55.231045"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 05:02:55.232822"], ["updated_at", "2019-01-19 05:02:55.232822"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 05:02:55.234355"], ["updated_at", "2019-01-19 05:02:55.234355"]] ↳ db/seeds.rb:48  (0.8ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Non suscipit explicabo adipisci."], ["body", "Voluptatem qui aliquid. Saepe tenetur et. Magni officiis eum."], ["created_at", "2019-01-19 05:02:55.236488"], ["updated_at", "2019-01-19 05:02:55.236488"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.5ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 05:02:55.238371"], ["updated_at", "2019-01-19 05:02:55.238371"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 05:02:55.240892"], ["updated_at", "2019-01-19 05:02:55.240892"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Ad magni quam quia."], ["body", "Enim eaque saepe. Dolores nam facilis. Facere qui autem."], ["created_at", "2019-01-19 05:02:55.243086"], ["updated_at", "2019-01-19 05:02:55.243086"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 05:02:55.244885"], ["updated_at", "2019-01-19 05:02:55.244885"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 05:02:55.246421"], ["updated_at", "2019-01-19 05:02:55.246421"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Quo alias blanditiis ab."], ["body", "Reprehenderit non ut. Veritatis est voluptates. At quia totam."], ["created_at", "2019-01-19 05:02:55.248394"], ["updated_at", "2019-01-19 05:02:55.248394"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 05:02:55.250122"], ["updated_at", "2019-01-19 05:02:55.250122"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 05:02:55.251683"], ["updated_at", "2019-01-19 05:02:55.251683"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "properties"], ["created_at", "2019-01-19 05:02:55.257464"], ["updated_at", "2019-01-19 05:02:55.257464"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.5ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "routes"], ["created_at", "2019-01-19 05:02:55.259643"], ["updated_at", "2019-01-19 05:02:55.259643"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.262075"], ["updated_at", "2019-01-19 05:02:55.262075"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/mailers"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.264179"], ["updated_at", "2019-01-19 05:02:55.264179"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "visitors"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.266164"], ["updated_at", "2019-01-19 05:02:55.266164"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.268130"], ["updated_at", "2019-01-19 05:02:55.268130"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.270197"], ["updated_at", "2019-01-19 05:02:55.270197"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.272436"], ["updated_at", "2019-01-19 05:02:55.272436"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.274604"], ["updated_at", "2019-01-19 05:02:55.274604"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.276587"], ["updated_at", "2019-01-19 05:02:55.276587"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.278528"], ["updated_at", "2019-01-19 05:02:55.278528"]] ↳ db/seeds.rb:63  (0.3ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.280345"], ["updated_at", "2019-01-19 05:02:55.280345"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "cancel"], ["created_at", "2019-01-19 05:02:55.282351"], ["updated_at", "2019-01-19 05:02:55.282351"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.284397"], ["updated_at", "2019-01-19 05:02:55.284397"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.286541"], ["updated_at", "2019-01-19 05:02:55.286541"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.288565"], ["updated_at", "2019-01-19 05:02:55.288565"]] ↳ db/seeds.rb:63  (0.3ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.290414"], ["updated_at", "2019-01-19 05:02:55.290414"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.292226"], ["updated_at", "2019-01-19 05:02:55.292226"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.294353"], ["updated_at", "2019-01-19 05:02:55.294353"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.296380"], ["updated_at", "2019-01-19 05:02:55.296380"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.298354"], ["updated_at", "2019-01-19 05:02:55.298354"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.300439"], ["updated_at", "2019-01-19 05:02:55.300439"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "show"], ["created_at", "2019-01-19 05:02:55.302482"], ["updated_at", "2019-01-19 05:02:55.302482"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.304642"], ["updated_at", "2019-01-19 05:02:55.304642"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.306694"], ["updated_at", "2019-01-19 05:02:55.306694"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.308725"], ["updated_at", "2019-01-19 05:02:55.308725"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.310696"], ["updated_at", "2019-01-19 05:02:55.310696"]] ↳ db/seeds.rb:63  (3.2ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.315610"], ["updated_at", "2019-01-19 05:02:55.315610"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.317996"], ["updated_at", "2019-01-19 05:02:55.317996"]] ↳ db/seeds.rb:63  (0.3ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.319846"], ["updated_at", "2019-01-19 05:02:55.319846"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.322063"], ["updated_at", "2019-01-19 05:02:55.322063"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.324050"], ["updated_at", "2019-01-19 05:02:55.324050"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.326064"], ["updated_at", "2019-01-19 05:02:55.326064"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.327956"], ["updated_at", "2019-01-19 05:02:55.327956"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.329888"], ["updated_at", "2019-01-19 05:02:55.329888"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.331819"], ["updated_at", "2019-01-19 05:02:55.331819"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.333599"], ["updated_at", "2019-01-19 05:02:55.333599"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.335483"], ["updated_at", "2019-01-19 05:02:55.335483"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.337597"], ["updated_at", "2019-01-19 05:02:55.337597"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.339558"], ["updated_at", "2019-01-19 05:02:55.339558"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.341839"], ["updated_at", "2019-01-19 05:02:55.341839"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/disk"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.343812"], ["updated_at", "2019-01-19 05:02:55.343812"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/direct_uploads"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.345838"], ["updated_at", "2019-01-19 05:02:55.345838"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/welcome"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.348051"], ["updated_at", "2019-01-19 05:02:55.348051"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_clearances"], ["name", "View clearances"], ["description", "View clearances"], ["created_at", "2019-01-19 05:02:55.398665"], ["updated_at", "2019-01-19 05:02:55.398665"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "clearances"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["created_at", "2019-01-19 05:02:55.421174"], ["updated_at", "2019-01-19 05:02:55.421174"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_clearances"], ["name", "Manage clearances"], ["description", "Manage clearances"], ["created_at", "2019-01-19 05:02:55.423965"], ["updated_at", "2019-01-19 05:02:55.423965"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "clearances"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["created_at", "2019-01-19 05:02:55.427171"], ["updated_at", "2019-01-19 05:02:55.427171"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["created_at", "2019-01-19 05:02:55.428483"], ["updated_at", "2019-01-19 05:02:55.428483"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["created_at", "2019-01-19 05:02:55.429551"], ["updated_at", "2019-01-19 05:02:55.429551"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["created_at", "2019-01-19 05:02:55.430567"], ["updated_at", "2019-01-19 05:02:55.430567"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["created_at", "2019-01-19 05:02:55.431621"], ["updated_at", "2019-01-19 05:02:55.431621"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["created_at", "2019-01-19 05:02:55.432778"], ["updated_at", "2019-01-19 05:02:55.432778"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_cities"], ["name", "View cities"], ["description", "View cities"], ["created_at", "2019-01-19 05:02:55.435133"], ["updated_at", "2019-01-19 05:02:55.435133"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "cities"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["created_at", "2019-01-19 05:02:55.438134"], ["updated_at", "2019-01-19 05:02:55.438134"]] ↳ db/seeds.rb:84  (0.5ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_cities"], ["name", "Manage cities"], ["description", "Manage cities"], ["created_at", "2019-01-19 05:02:55.440374"], ["updated_at", "2019-01-19 05:02:55.440374"]] ↳ db/seeds.rb:76  (0.4ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "cities"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["created_at", "2019-01-19 05:02:55.443168"], ["updated_at", "2019-01-19 05:02:55.443168"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["created_at", "2019-01-19 05:02:55.444558"], ["updated_at", "2019-01-19 05:02:55.444558"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["created_at", "2019-01-19 05:02:55.445747"], ["updated_at", "2019-01-19 05:02:55.445747"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["created_at", "2019-01-19 05:02:55.446917"], ["updated_at", "2019-01-19 05:02:55.446917"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["created_at", "2019-01-19 05:02:55.447994"], ["updated_at", "2019-01-19 05:02:55.447994"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["created_at", "2019-01-19 05:02:55.449014"], ["updated_at", "2019-01-19 05:02:55.449014"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_reports"], ["name", "View reports"], ["description", "View reports"], ["created_at", "2019-01-19 05:02:55.451246"], ["updated_at", "2019-01-19 05:02:55.451246"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "reports"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["created_at", "2019-01-19 05:02:55.454350"], ["updated_at", "2019-01-19 05:02:55.454350"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["created_at", "2019-01-19 05:02:55.455730"], ["updated_at", "2019-01-19 05:02:55.455730"]] ↳ db/seeds.rb:84  (0.5ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_reports"], ["name", "Manage reports"], ["description", "Manage reports"], ["created_at", "2019-01-19 05:02:55.457969"], ["updated_at", "2019-01-19 05:02:55.457969"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "reports"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["created_at", "2019-01-19 05:02:55.461123"], ["updated_at", "2019-01-19 05:02:55.461123"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["created_at", "2019-01-19 05:02:55.462545"], ["updated_at", "2019-01-19 05:02:55.462545"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["created_at", "2019-01-19 05:02:55.463658"], ["updated_at", "2019-01-19 05:02:55.463658"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["created_at", "2019-01-19 05:02:55.464744"], ["updated_at", "2019-01-19 05:02:55.464744"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["created_at", "2019-01-19 05:02:55.465766"], ["updated_at", "2019-01-19 05:02:55.465766"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["created_at", "2019-01-19 05:02:55.466836"], ["updated_at", "2019-01-19 05:02:55.466836"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["created_at", "2019-01-19 05:02:55.467808"], ["updated_at", "2019-01-19 05:02:55.467808"]] ↳ db/seeds.rb:84  (1.1ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.2ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_announcements"], ["name", "View announcements"], ["description", "View announcements"], ["created_at", "2019-01-19 05:02:55.471796"], ["updated_at", "2019-01-19 05:02:55.471796"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "announcements"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["created_at", "2019-01-19 05:02:55.475590"], ["updated_at", "2019-01-19 05:02:55.475590"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_announcements"], ["name", "Manage announcements"], ["description", "Manage announcements"], ["created_at", "2019-01-19 05:02:55.478482"], ["updated_at", "2019-01-19 05:02:55.478482"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "announcements"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["created_at", "2019-01-19 05:02:55.481571"], ["updated_at", "2019-01-19 05:02:55.481571"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["created_at", "2019-01-19 05:02:55.482853"], ["updated_at", "2019-01-19 05:02:55.482853"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["created_at", "2019-01-19 05:02:55.483976"], ["updated_at", "2019-01-19 05:02:55.483976"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["created_at", "2019-01-19 05:02:55.485212"], ["updated_at", "2019-01-19 05:02:55.485212"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.2ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "general_director"], ["name", "general_director"], ["description", "general_director"], ["created_at", "2019-01-19 05:02:55.492542"], ["updated_at", "2019-01-19 05:02:55.492542"]] ↳ db/seeds.rb:95  (0.9ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.507578"], ["updated_at", "2019-01-19 05:02:55.507578"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.509110"], ["updated_at", "2019-01-19 05:02:55.509110"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.510386"], ["updated_at", "2019-01-19 05:02:55.510386"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.511481"], ["updated_at", "2019-01-19 05:02:55.511481"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.512544"], ["updated_at", "2019-01-19 05:02:55.512544"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.513643"], ["updated_at", "2019-01-19 05:02:55.513643"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.514721"], ["updated_at", "2019-01-19 05:02:55.514721"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 1], ["created_at", "2019-01-19 05:02:55.515756"], ["updated_at", "2019-01-19 05:02:55.515756"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.4ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 05:02:55.531770"], ["updated_at", "2019-01-19 05:02:55.531770"]] ↳ db/seeds.rb:106  (0.8ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_director"], ["name", "ny_director"], ["description", "ny_director"], ["created_at", "2019-01-19 05:02:55.535932"], ["updated_at", "2019-01-19 05:02:55.535932"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.540187"], ["updated_at", "2019-01-19 05:02:55.540187"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.541921"], ["updated_at", "2019-01-19 05:02:55.541921"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.543289"], ["updated_at", "2019-01-19 05:02:55.543289"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.544879"], ["updated_at", "2019-01-19 05:02:55.544879"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.546258"], ["updated_at", "2019-01-19 05:02:55.546258"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.547574"], ["updated_at", "2019-01-19 05:02:55.547574"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.548806"], ["updated_at", "2019-01-19 05:02:55.548806"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 2], ["created_at", "2019-01-19 05:02:55.549912"], ["updated_at", "2019-01-19 05:02:55.549912"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["created_at", "2019-01-19 05:02:55.552789"], ["updated_at", "2019-01-19 05:02:55.552789"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_director"], ["name", "sf_director"], ["description", "sf_director"], ["created_at", "2019-01-19 05:02:55.555878"], ["updated_at", "2019-01-19 05:02:55.555878"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.559534"], ["updated_at", "2019-01-19 05:02:55.559534"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.561130"], ["updated_at", "2019-01-19 05:02:55.561130"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.562748"], ["updated_at", "2019-01-19 05:02:55.562748"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.563968"], ["updated_at", "2019-01-19 05:02:55.563968"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.565148"], ["updated_at", "2019-01-19 05:02:55.565148"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.566922"], ["updated_at", "2019-01-19 05:02:55.566922"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.568682"], ["updated_at", "2019-01-19 05:02:55.568682"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 3], ["created_at", "2019-01-19 05:02:55.570137"], ["updated_at", "2019-01-19 05:02:55.570137"]] ↳ db/seeds.rb:103  (1.1ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.5ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["created_at", "2019-01-19 05:02:55.576098"], ["updated_at", "2019-01-19 05:02:55.576098"]] ↳ db/seeds.rb:106  (1.0ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_agent"], ["name", "ny_agent"], ["description", "ny_agent"], ["created_at", "2019-01-19 05:02:55.580415"], ["updated_at", "2019-01-19 05:02:55.580415"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.584594"], ["updated_at", "2019-01-19 05:02:55.584594"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.586326"], ["updated_at", "2019-01-19 05:02:55.586326"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.587594"], ["updated_at", "2019-01-19 05:02:55.587594"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.588868"], ["updated_at", "2019-01-19 05:02:55.588868"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.590162"], ["updated_at", "2019-01-19 05:02:55.590162"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.591373"], ["updated_at", "2019-01-19 05:02:55.591373"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.592527"], ["updated_at", "2019-01-19 05:02:55.592527"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 4], ["created_at", "2019-01-19 05:02:55.593866"], ["updated_at", "2019-01-19 05:02:55.593866"]] ↳ db/seeds.rb:103  (0.8ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["created_at", "2019-01-19 05:02:55.596869"], ["updated_at", "2019-01-19 05:02:55.596869"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_agent"], ["name", "sf_agent"], ["description", "sf_agent"], ["created_at", "2019-01-19 05:02:55.599366"], ["updated_at", "2019-01-19 05:02:55.599366"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.602451"], ["updated_at", "2019-01-19 05:02:55.602451"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.607356"], ["updated_at", "2019-01-19 05:02:55.607356"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.608440"], ["updated_at", "2019-01-19 05:02:55.608440"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.609525"], ["updated_at", "2019-01-19 05:02:55.609525"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.610558"], ["updated_at", "2019-01-19 05:02:55.610558"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.611628"], ["updated_at", "2019-01-19 05:02:55.611628"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.612650"], ["updated_at", "2019-01-19 05:02:55.612650"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 5], ["created_at", "2019-01-19 05:02:55.613687"], ["updated_at", "2019-01-19 05:02:55.613687"]] ↳ db/seeds.rb:103  (0.5ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["created_at", "2019-01-19 05:02:55.616246"], ["updated_at", "2019-01-19 05:02:55.616246"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_auditor"], ["name", "ny_auditor"], ["description", "ny_auditor"], ["created_at", "2019-01-19 05:02:55.618561"], ["updated_at", "2019-01-19 05:02:55.618561"]] ↳ db/seeds.rb:95  (0.8ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 6], ["created_at", "2019-01-19 05:02:55.622804"], ["updated_at", "2019-01-19 05:02:55.622804"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 6], ["created_at", "2019-01-19 05:02:55.624604"], ["updated_at", "2019-01-19 05:02:55.624604"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 6], ["created_at", "2019-01-19 05:02:55.626181"], ["updated_at", "2019-01-19 05:02:55.626181"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 6], ["created_at", "2019-01-19 05:02:55.627404"], ["updated_at", "2019-01-19 05:02:55.627404"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["created_at", "2019-01-19 05:02:55.630456"], ["updated_at", "2019-01-19 05:02:55.630456"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_auditor"], ["name", "sf_auditor"], ["description", "sf_auditor"], ["created_at", "2019-01-19 05:02:55.633859"], ["updated_at", "2019-01-19 05:02:55.633859"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 7], ["created_at", "2019-01-19 05:02:55.638007"], ["updated_at", "2019-01-19 05:02:55.638007"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 7], ["created_at", "2019-01-19 05:02:55.639802"], ["updated_at", "2019-01-19 05:02:55.639802"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 7], ["created_at", "2019-01-19 05:02:55.641104"], ["updated_at", "2019-01-19 05:02:55.641104"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 7], ["created_at", "2019-01-19 05:02:55.642362"], ["updated_at", "2019-01-19 05:02:55.642362"]] ↳ db/seeds.rb:103  (0.8ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.5ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["created_at", "2019-01-19 05:02:55.646689"], ["updated_at", "2019-01-19 05:02:55.646689"]] ↳ db/seeds.rb:106  (1.1ms) commit transaction ↳ db/seeds.rb:106 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:113  (0.0ms) begin transaction ↳ db/seeds.rb:114 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:114  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 05:02:55.661466"], ["updated_at", "2019-01-19 05:02:55.661466"]] ↳ db/seeds.rb:114  (0.8ms) commit transaction ↳ db/seeds.rb:114  (0.0ms) begin transaction ↳ db/seeds.rb:115 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:115  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 05:02:55.664748"], ["updated_at", "2019-01-19 05:02:55.664748"]] ↳ db/seeds.rb:115  (0.6ms) commit transaction ↳ db/seeds.rb:115 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'ny%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["keyword", "New York"], ["created_at", "2019-01-19 05:02:55.667987"], ["updated_at", "2019-01-19 05:02:55.667987"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["keyword", "New York"], ["created_at", "2019-01-19 05:02:55.670382"], ["updated_at", "2019-01-19 05:02:55.670382"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["keyword", "New York"], ["created_at", "2019-01-19 05:02:55.673130"], ["updated_at", "2019-01-19 05:02:55.673130"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'sf%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["keyword", "San Francisco"], ["created_at", "2019-01-19 05:02:55.676004"], ["updated_at", "2019-01-19 05:02:55.676004"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["keyword", "San Francisco"], ["created_at", "2019-01-19 05:02:55.678475"], ["updated_at", "2019-01-19 05:02:55.678475"]] ↳ db/seeds.rb:123  (0.5ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["keyword", "San Francisco"], ["created_at", "2019-01-19 05:02:55.680668"], ["updated_at", "2019-01-19 05:02:55.680668"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_director"], ["name", "sf_director"]] ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["keyword", "All"], ["created_at", "2019-01-19 05:02:55.683343"], ["updated_at", "2019-01-19 05:02:55.683343"]] ↳ db/seeds.rb:129  (0.6ms) commit transaction ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["keyword", "All"], ["created_at", "2019-01-19 05:02:55.685642"], ["updated_at", "2019-01-19 05:02:55.685642"]] ↳ db/seeds.rb:129  (0.7ms) commit transaction ↳ db/seeds.rb:129 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_agent"], ["name", "sf_agent"]] ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["keyword", "secret"], ["created_at", "2019-01-19 05:02:55.688876"], ["updated_at", "2019-01-19 05:02:55.688876"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["keyword", "secret"], ["created_at", "2019-01-19 05:02:55.691308"], ["updated_at", "2019-01-19 05:02:55.691308"]] ↳ db/seeds.rb:133  (0.7ms) commit transaction ↳ db/seeds.rb:133 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE '%auditor%') ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["keyword", "All"], ["created_at", "2019-01-19 05:02:55.694146"], ["updated_at", "2019-01-19 05:02:55.694146"]] ↳ db/seeds.rb:137  (0.5ms) commit transaction ↳ db/seeds.rb:137  (0.1ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["keyword", "All"], ["created_at", "2019-01-19 05:02:55.696599"], ["updated_at", "2019-01-19 05:02:55.696599"]] ↳ db/seeds.rb:137  (0.6ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:142 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny and sf"], ["created_at", "2019-01-19 05:02:55.702965"], ["updated_at", "2019-01-19 05:02:55.702965"]] ↳ db/seeds.rb:142  (0.5ms) commit transaction ↳ db/seeds.rb:142  (0.0ms) begin transaction ↳ db/seeds.rb:143 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 1], ["created_at", "2019-01-19 05:02:55.712589"], ["updated_at", "2019-01-19 05:02:55.712589"]] ↳ db/seeds.rb:143 AnnouncementCity Create (0.1ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 2], ["created_at", "2019-01-19 05:02:55.713719"], ["updated_at", "2019-01-19 05:02:55.713719"]] ↳ db/seeds.rb:143  (0.7ms) commit transaction ↳ db/seeds.rb:143  (0.0ms) begin transaction ↳ db/seeds.rb:145 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny"], ["created_at", "2019-01-19 05:02:55.715189"], ["updated_at", "2019-01-19 05:02:55.715189"]] ↳ db/seeds.rb:145  (0.4ms) commit transaction ↳ db/seeds.rb:145  (0.0ms) begin transaction ↳ db/seeds.rb:146 AnnouncementCity Create (0.2ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["city_id", 1], ["created_at", "2019-01-19 05:02:55.717098"], ["updated_at", "2019-01-19 05:02:55.717098"]] ↳ db/seeds.rb:146  (0.6ms) commit transaction ↳ db/seeds.rb:146  (0.0ms) begin transaction ↳ db/seeds.rb:148 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for sf"], ["created_at", "2019-01-19 05:02:55.718695"], ["updated_at", "2019-01-19 05:02:55.718695"]] ↳ db/seeds.rb:148  (0.4ms) commit transaction ↳ db/seeds.rb:148  (0.0ms) begin transaction ↳ db/seeds.rb:149 AnnouncementCity Create (0.2ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 3], ["city_id", 2], ["created_at", "2019-01-19 05:02:55.720535"], ["updated_at", "2019-01-19 05:02:55.720535"]] ↳ db/seeds.rb:149  (0.6ms) commit transaction ↳ db/seeds.rb:149  (0.0ms) begin transaction ↳ db/seeds.rb:151 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for no one"], ["created_at", "2019-01-19 05:02:55.722054"], ["updated_at", "2019-01-19 05:02:55.722054"]] ↳ db/seeds.rb:151  (0.6ms) commit transaction ↳ db/seeds.rb:151  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.724752"], ["updated_at", "2019-01-19 05:02:55.724752"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.726723"], ["updated_at", "2019-01-19 05:02:55.726723"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.728750"], ["updated_at", "2019-01-19 05:02:55.728750"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.730894"], ["updated_at", "2019-01-19 05:02:55.730894"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.732987"], ["updated_at", "2019-01-19 05:02:55.732987"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 05:02:55.735165"], ["updated_at", "2019-01-19 05:02:55.735165"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.737311"], ["updated_at", "2019-01-19 05:02:55.737311"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.739468"], ["updated_at", "2019-01-19 05:02:55.739468"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.741621"], ["updated_at", "2019-01-19 05:02:55.741621"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.743769"], ["updated_at", "2019-01-19 05:02:55.743769"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.746238"], ["updated_at", "2019-01-19 05:02:55.746238"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.748280"], ["updated_at", "2019-01-19 05:02:55.748280"]] ↳ db/seeds.rb:159  (1.2ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 05:02:55.751350"], ["updated_at", "2019-01-19 05:02:55.751350"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.753831"], ["updated_at", "2019-01-19 05:02:55.753831"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.755883"], ["updated_at", "2019-01-19 05:02:55.755883"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.758056"], ["updated_at", "2019-01-19 05:02:55.758056"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.760256"], ["updated_at", "2019-01-19 05:02:55.760256"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.762315"], ["updated_at", "2019-01-19 05:02:55.762315"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.764200"], ["updated_at", "2019-01-19 05:02:55.764200"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.766338"], ["updated_at", "2019-01-19 05:02:55.766338"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 05:02:55.768650"], ["updated_at", "2019-01-19 05:02:55.768650"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.771075"], ["updated_at", "2019-01-19 05:02:55.771075"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.773171"], ["updated_at", "2019-01-19 05:02:55.773171"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 05:02:55.775201"], ["updated_at", "2019-01-19 05:02:55.775201"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.777137"], ["updated_at", "2019-01-19 05:02:55.777137"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 05:02:55.779370"], ["updated_at", "2019-01-19 05:02:55.779370"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.781645"], ["updated_at", "2019-01-19 05:02:55.781645"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.783681"], ["updated_at", "2019-01-19 05:02:55.783681"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.785862"], ["updated_at", "2019-01-19 05:02:55.785862"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.787982"], ["updated_at", "2019-01-19 05:02:55.787982"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 05:02:55.790171"], ["updated_at", "2019-01-19 05:02:55.790171"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.792297"], ["updated_at", "2019-01-19 05:02:55.792297"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 05:02:55.794690"], ["updated_at", "2019-01-19 05:02:55.794690"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 05:02:55.797002"], ["updated_at", "2019-01-19 05:02:55.797002"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 05:02:55.799305"], ["updated_at", "2019-01-19 05:02:55.799305"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 05:02:55.801302"], ["updated_at", "2019-01-19 05:02:55.801302"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 05:02:55.803696"], ["updated_at", "2019-01-19 05:02:55.803696"]] ↳ db/seeds.rb:166  (0.6ms) commit transaction ↳ db/seeds.rb:166 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.807482"], ["updated_at", "2019-01-19 05:02:55.807482"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.808846"], ["updated_at", "2019-01-19 05:02:55.808846"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.809971"], ["updated_at", "2019-01-19 05:02:55.809971"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.811058"], ["updated_at", "2019-01-19 05:02:55.811058"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.812133"], ["updated_at", "2019-01-19 05:02:55.812133"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.813205"], ["updated_at", "2019-01-19 05:02:55.813205"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.814507"], ["updated_at", "2019-01-19 05:02:55.814507"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.815559"], ["updated_at", "2019-01-19 05:02:55.815559"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.816973"], ["updated_at", "2019-01-19 05:02:55.816973"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.819326"], ["updated_at", "2019-01-19 05:02:55.819326"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.820894"], ["updated_at", "2019-01-19 05:02:55.820894"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.822366"], ["updated_at", "2019-01-19 05:02:55.822366"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.823860"], ["updated_at", "2019-01-19 05:02:55.823860"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.825340"], ["updated_at", "2019-01-19 05:02:55.825340"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.826813"], ["updated_at", "2019-01-19 05:02:55.826813"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.828157"], ["updated_at", "2019-01-19 05:02:55.828157"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.829401"], ["updated_at", "2019-01-19 05:02:55.829401"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.830623"], ["updated_at", "2019-01-19 05:02:55.830623"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.831859"], ["updated_at", "2019-01-19 05:02:55.831859"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.832998"], ["updated_at", "2019-01-19 05:02:55.832998"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.834104"], ["updated_at", "2019-01-19 05:02:55.834104"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.835217"], ["updated_at", "2019-01-19 05:02:55.835217"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.836326"], ["updated_at", "2019-01-19 05:02:55.836326"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.837444"], ["updated_at", "2019-01-19 05:02:55.837444"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.838568"], ["updated_at", "2019-01-19 05:02:55.838568"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.839656"], ["updated_at", "2019-01-19 05:02:55.839656"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.840654"], ["updated_at", "2019-01-19 05:02:55.840654"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.841642"], ["updated_at", "2019-01-19 05:02:55.841642"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.842676"], ["updated_at", "2019-01-19 05:02:55.842676"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.843656"], ["updated_at", "2019-01-19 05:02:55.843656"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.844662"], ["updated_at", "2019-01-19 05:02:55.844662"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.845651"], ["updated_at", "2019-01-19 05:02:55.845651"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.846676"], ["updated_at", "2019-01-19 05:02:55.846676"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.847757"], ["updated_at", "2019-01-19 05:02:55.847757"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.851980"], ["updated_at", "2019-01-19 05:02:55.851980"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 05:02:55.853180"], ["updated_at", "2019-01-19 05:02:55.853180"]] ↳ db/seeds.rb:167  (0.8ms) commit transaction ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:170 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "auth_admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Auth Admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "auth_admin"], ["name", "Auth Admin"], ["description", "Auth Admin"], ["created_at", "2019-01-19 05:02:55.855925"], ["updated_at", "2019-01-19 05:02:55.855925"]] ↳ db/seeds.rb:170  (0.6ms) commit transaction ↳ db/seeds.rb:170  (0.0ms) begin transaction ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 8], ["created_at", "2019-01-19 05:02:55.858859"], ["updated_at", "2019-01-19 05:02:55.858859"]] ↳ db/seeds.rb:171  (0.5ms) commit transaction ↳ db/seeds.rb:171 Started GET "/" for 127.0.0.1 at 2019-01-19 16:03:18 +1100  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (8.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 443ms (Views: 440.6ms | ActiveRecord: 0.7ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-19 16:03:24 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (442.4ms) Rendered layouts/_flash.html.slim (10.0ms) Completed 200 OK in 493ms (Views: 490.1ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-19 16:03:42 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HEWUd3flJ/HPtjpA/cXHPG0fmuLy7F0ghfpLG/KXXEOvV3tE78JtQiYrqIUGqvuuemcDq+oL+jiFhQ97ZxlG8g==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 127ms (ActiveRecord: 0.2ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-19 16:03:42 +1100 Processing by ReportsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.1ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.1ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" WHERE "cities"."id" = ? AND "clearances"."id" = ? ORDER BY cities.name ASC [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 4], ["id", 2]] ↳ app/views/reports/index.html.slim:18 City Load (0.2ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? [["id", 1]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.2ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" = ? [["id", 2]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.5ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.5ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendered reports/index.html.slim within layouts/application (188.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.8ms) Rendered layouts/_flash.html.slim (2.1ms) Completed 200 OK in 273ms (Views: 231.0ms | ActiveRecord: 8.0ms) Started DELETE "/users/sign_out" for 127.0.0.1 at 2019-01-19 16:03:51 +1100 Processing by Devise::SessionsController#destroy as HTML Parameters: {"authenticity_token"=>"sNKeGwQcpTujFUBtI5I4goQOwNhsij/5Bn9Or6XtalHrJtkoriDbLKFL90bU9x3tR5lkWzWYL1SPnw45nc/cCw=="} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2019-01-19 16:03:51 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.6ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 28ms (Views: 26.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-19 16:03:53 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (5.6ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 41ms (Views: 40.6ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-19 16:04:03 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nfKTGM/xjMmbxGYD9TvNAbabzYWmkf0tg1VcqUr2dwqpxBFQyGftu+uqA1hmmJhHaGYQDrrRxUUd5yDlZ0UDNw==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 114ms (ActiveRecord: 0.2ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-19 16:04:03 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (177.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.3ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 215ms (Views: 205.7ms | ActiveRecord: 4.4ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-19 16:05:20 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (153.1ms) Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.2ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 204ms (Views: 194.2ms | ActiveRecord: 4.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-19 16:05:26 +1100 Processing by Authz::HomeController#index as HTML Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.2ms) Completed 200 OK in 118ms (Views: 93.2ms | ActiveRecord: 3.7ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-19 16:05:40 +1100 Processing by Authz::BusinessProcessesController#index as HTML Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.3ms) Authz::BusinessProcess Load (0.3ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (42.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms) Completed 200 OK in 104ms (Views: 96.3ms | ActiveRecord: 0.4ms) Started GET "/authz/business_processes/9" for 127.0.0.1 at 2019-01-19 16:05:44 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"9"} Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:12  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (53.6ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (2.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.0ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (99.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms) Completed 200 OK in 167ms (Views: 151.6ms | ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-19 16:06:20 +1100 Processing by Authz::HomeController#index as HTML Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.3ms) Completed 200 OK in 86ms (Views: 62.6ms | ActiveRecord: 3.8ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-19 16:07:24 +1100 Processing by Authz::HomeController#index as HTML Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `authorize' for # Did you mean? authz: Started POST "/authz/__better_errors/23b3565f26fb5191/variables" for 127.0.0.1 at 2019-01-19 16:07:25 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-19 16:16:03 +1100 Processing by Authz::HomeController#index as HTML  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 28ms (ActiveRecord: 1.4ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started POST "/authz/__better_errors/4909212dd69e80fb/variables" for 127.0.0.1 at 2019-01-19 16:16:03 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-19 16:16:42 +1100 Processing by Authz::HomeController#index as HTML  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:14 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (13.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 91ms (Views: 66.0ms | ActiveRecord: 2.9ms) Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError - Authz::HomeController#index is missing authorization.: Started POST "/authz/__better_errors/57ab6ffd2ac16825/variables" for 127.0.0.1 at 2019-01-19 16:16:43 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-19 16:17:46 +1100  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:6 Completed 500 Internal Server Error in 515628ms (ActiveRecord: 0.9ms) NoMethodError - undefined method `authorize' for # Did you mean? authz: Started GET "/" for 127.0.0.1 at 2019-01-19 16:26:38 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (31.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Rendered layouts/_nav.html.slim (208.5ms) Completed 500 Internal Server Error in 1061ms (ActiveRecord: 1.8ms) NameError - undefined local variable or method `current_pirate' for # Did you mean? current_user: app/controllers/application_controller.rb:17:in `authz_user' app/views/layouts/_nav.html.slim:5:in `_app_views_layouts__nav_html_slim__3721837193266714702_70112983029320' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim___2774827737317065373_70112946215640' Started POST "/__better_errors/c4d2197e100a5f53/variables" for 127.0.0.1 at 2019-01-19 16:26:45 +1100 Started GET "/" for 127.0.0.1 at 2019-01-19 16:26:57 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (15.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Rendered layouts/_nav.html.slim (68.0ms) Completed 500 Internal Server Error in 204ms (ActiveRecord: 1.4ms) NoMethodError - undefined method `roles' for "quack":String: app/views/layouts/_nav.html.slim:5:in `_app_views_layouts__nav_html_slim__3721837193266714702_70113026473460' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim___2774827737317065373_70113026830280' Started POST "/__better_errors/43640146caa21624/variables" for 127.0.0.1 at 2019-01-19 16:26:58 +1100 Started GET "/authz" for 127.0.0.1 at 2019-01-19 16:28:24 +1100 Processing by Authz::HomeController#index as HTML Completed 500 Internal Server Error in 3331ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `authorize' for # Did you mean? authz: Started POST "/authz/__better_errors/2a6e4138d786c613/variables" for 127.0.0.1 at 2019-01-19 16:28:32 +1100 Started GET "/authz" for 127.0.0.1 at 2019-01-19 16:29:11 +1100 Processing by Authz::HomeController#index as HTML  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:123 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 6833ms (ActiveRecord: 5.4ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started POST "/authz/__better_errors/6a542a99a59310f9/variables" for 127.0.0.1 at 2019-01-19 16:29:21 +1100 Started GET "/" for 127.0.0.1 at 2019-01-19 18:34:12 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (9.7ms) User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Rendered layouts/_nav.html.slim (15.3ms) Completed 500 Internal Server Error in 522ms (ActiveRecord: 1.1ms) NoMethodError - undefined method `roles' for "quack":String: app/views/layouts/_nav.html.slim:5:in `_app_views_layouts__nav_html_slim___1278690579996075480_70305052552320' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim___2553866798552161736_70304973243840' Started POST "/__better_errors/b90b516b10586130/variables" for 127.0.0.1 at 2019-01-19 18:34:17 +1100 Started GET "/" for 127.0.0.1 at 2019-01-19 18:34:28 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.9ms) User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (1.5ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (3.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (45.7ms) Rendered layouts/_flash.html.slim (2.0ms) Completed 200 OK in 89ms (Views: 80.8ms | ActiveRecord: 7.0ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-19 18:34:44 +1100 Processing by Authz::RolablesController#index as HTML Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `non_existent' for #: Started POST "/authz/__better_errors/227c9becbc65743a/variables" for 127.0.0.1 at 2019-01-19 18:34:44 +1100 Started GET "/authz/users" for 127.0.0.1 at 2019-01-19 18:35:09 +1100 Processing by Authz::RolablesController#index as HTML Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `non_existent' for #: Started POST "/authz/__better_errors/2eabd9e52b1e9e63/variables" for 127.0.0.1 at 2019-01-19 18:35:10 +1100 Started GET "/authz/users" for 127.0.0.1 at 2019-01-19 18:35:24 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolablesController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.6ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.2ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (22.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 538ms (Views: 517.2ms | ActiveRecord: 1.9ms) Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError - Authz::RolablesController#index is missing authorization.: Started POST "/authz/__better_errors/9cbaa97e531cc0ce/variables" for 127.0.0.1 at 2019-01-19 18:35:30 +1100 Started GET "/" for 127.0.0.1 at 2019-01-19 18:35:43 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.8ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (3.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (42.5ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 90ms (Views: 82.4ms | ActiveRecord: 5.8ms) Started DELETE "/users/sign_out" for 127.0.0.1 at 2019-01-19 18:35:45 +1100 Processing by Devise::SessionsController#destroy as HTML Parameters: {"authenticity_token"=>"4v3Uvn/b2vuFP+EpmCAOmBHT0xZWfg3WDEbUO5k99h5371VeiYQxAHEsr5yZ5KwVVgAdxwcrlm358ucwI3AY/A=="} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/ Completed 302 Found in 550ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2019-01-19 18:35:46 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (3.8ms) Rendered layouts/_flash.html.slim (2.4ms) Completed 200 OK in 48ms (Views: 46.3ms | ActiveRecord: 0.0ms) Started GET "/authz" for 127.0.0.1 at 2019-01-19 18:35:50 +1100 Processing by Authz::HomeController#index as HTML Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-19 18:35:50 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (1.3ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (8.4ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 72ms (Views: 69.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-19 18:36:06 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HztHYJeWI0tJI8bQls1Uw5xiKnJpDi1kKta6nvZQ+QX2LRXqFGeX+gZ+yZ+FWeCUAEson5JYIZnzwKmqiov6AQ==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/authz/ Completed 302 Found in 127ms (ActiveRecord: 0.6ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-19 18:36:06 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started POST "/authz/__better_errors/79ce5a7d1ade46f7/variables" for 127.0.0.1 at 2019-01-19 18:36:06 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (1.8ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.7ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.9ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (1.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (1.6ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.9ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (1.3ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (1.0ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.9ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (1.3ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.9ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (1.2ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.8ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.8ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (1.2ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.8ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (1.3ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.8ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (1.6ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.8ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (1.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13  (0.0ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4  (0.0ms) commit transaction ↳ bin/rails:4  (2.0ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (1.0ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (1.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.7ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.9ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (1.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (1.5ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.8ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.9ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.6ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.8ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (1.3ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (1.4ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.8ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (1.4ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "development"], ["updated_at", "2019-01-19 07:46:23.613958"], ["key", "environment"]] ↳ db/schema.rb:13  (0.4ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:46:23.615929"], ["key", "environment"]] ↳ bin/rails:4  (0.5ms) commit transaction ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$B6Uj17ZdF43av2I3N82gI.AHmiUJtjtdjfKWj24MVynHxv3ZrzhVe"], ["created_at", "2019-01-19 07:46:23.727725"], ["updated_at", "2019-01-19 07:46:23.727725"]] ↳ db/seeds.rb:3  (1.6ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$TQMsBYWq6NNapPpK0KqKI./AEcQ2sm7Ro7.UjDLQuwpCMq/7SS0dm"], ["created_at", "2019-01-19 07:46:23.819046"], ["updated_at", "2019-01-19 07:46:23.819046"]] ↳ db/seeds.rb:4  (1.2ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$NHmtcA3nkvP9VKoO1DBcu.BoFsLswn6PIUTUirhN/CWCX5F6qi8uG"], ["created_at", "2019-01-19 07:46:23.909100"], ["updated_at", "2019-01-19 07:46:23.909100"]] ↳ db/seeds.rb:5  (1.8ms) commit transaction ↳ db/seeds.rb:5  (0.1ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$9WlJX7jdeaZLeOjsxWUrO.EUv4yk4DKAE.0jaZdD96LYe7P4g61/q"], ["created_at", "2019-01-19 07:46:24.007439"], ["updated_at", "2019-01-19 07:46:24.007439"]] ↳ db/seeds.rb:6  (1.4ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$DltMTPbR0Sbp7LT7llMEZuWtn0iVE11EXWFZ1OGKHtaXyz3RNyAvu"], ["created_at", "2019-01-19 07:46:24.098022"], ["updated_at", "2019-01-19 07:46:24.098022"]] ↳ db/seeds.rb:7  (1.7ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$kTEaDWUGOAv5n/YOFVHuJOyx.nUasyL12qJv/PdtMh4Qg7RIqyyQy"], ["created_at", "2019-01-19 07:46:24.198001"], ["updated_at", "2019-01-19 07:46:24.198001"]] ↳ db/seeds.rb:8  (1.7ms) commit transaction ↳ db/seeds.rb:8  (0.1ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$TkVa3Uznw473MzKhBUEoi.65INYAOTTR50VPsSS5Hn1py7AxD8VZe"], ["created_at", "2019-01-19 07:46:24.300886"], ["updated_at", "2019-01-19 07:46:24.300886"]] ↳ db/seeds.rb:9  (1.2ms) commit transaction ↳ db/seeds.rb:9  (0.1ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 07:46:24.311275"], ["updated_at", "2019-01-19 07:46:24.311275"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 07:46:24.313756"], ["updated_at", "2019-01-19 07:46:24.313756"]] ↳ db/seeds.rb:14  (0.6ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 07:46:24.322018"], ["updated_at", "2019-01-19 07:46:24.322018"]] ↳ db/seeds.rb:18  (0.5ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 07:46:24.323965"], ["updated_at", "2019-01-19 07:46:24.323965"]] ↳ db/seeds.rb:19  (0.6ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Sint aspernatur et dolorum."], ["body", "Tempora culpa ut. Cum sed impedit. Eum minima aspernatur."], ["created_at", "2019-01-19 07:46:24.868722"], ["updated_at", "2019-01-19 07:46:24.868722"]] ↳ db/seeds.rb:25  (0.8ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:46:24.879652"], ["updated_at", "2019-01-19 07:46:24.879652"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:46:24.881750"], ["updated_at", "2019-01-19 07:46:24.881750"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Inventore explicabo non voluptatem."], ["body", "Nemo maiores ab. Minus fuga consequatur. Consequatur a expedita."], ["created_at", "2019-01-19 07:46:24.883929"], ["updated_at", "2019-01-19 07:46:24.883929"]] ↳ db/seeds.rb:29  (0.8ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:46:24.886119"], ["updated_at", "2019-01-19 07:46:24.886119"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:46:24.888051"], ["updated_at", "2019-01-19 07:46:24.888051"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Sit minima temporibus laborum."], ["body", "Molestias accusantium quos. Quo aperiam voluptatum. Provident ut dolorum."], ["created_at", "2019-01-19 07:46:24.890164"], ["updated_at", "2019-01-19 07:46:24.890164"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:46:24.892034"], ["updated_at", "2019-01-19 07:46:24.892034"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:46:24.893842"], ["updated_at", "2019-01-19 07:46:24.893842"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Consequatur dolorum qui velit."], ["body", "Fugit in commodi. Voluptatem vitae voluptatem. Amet incidunt natus."], ["created_at", "2019-01-19 07:46:24.895836"], ["updated_at", "2019-01-19 07:46:24.895836"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:46:24.897669"], ["updated_at", "2019-01-19 07:46:24.897669"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:46:24.899348"], ["updated_at", "2019-01-19 07:46:24.899348"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Totam a incidunt laborum."], ["body", "Non dolores quam. Repudiandae officiis sit. Nostrum vitae illo."], ["created_at", "2019-01-19 07:46:24.901276"], ["updated_at", "2019-01-19 07:46:24.901276"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:46:24.903145"], ["updated_at", "2019-01-19 07:46:24.903145"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:46:24.904783"], ["updated_at", "2019-01-19 07:46:24.904783"]] ↳ db/seeds.rb:27  (0.8ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Delectus veniam aut ea."], ["body", "Blanditiis laboriosam sunt. Quia aut eius. Qui cum ut."], ["created_at", "2019-01-19 07:46:24.906910"], ["updated_at", "2019-01-19 07:46:24.906910"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:46:24.908920"], ["updated_at", "2019-01-19 07:46:24.908920"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:46:24.910690"], ["updated_at", "2019-01-19 07:46:24.910690"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.1ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Facilis ex et sunt."], ["body", "Temporibus sit ut. Libero dolore suscipit. Explicabo beatae accusantium."], ["created_at", "2019-01-19 07:46:24.913177"], ["updated_at", "2019-01-19 07:46:24.913177"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 07:46:24.915253"], ["updated_at", "2019-01-19 07:46:24.915253"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:46:24.917019"], ["updated_at", "2019-01-19 07:46:24.917019"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Neque recusandae labore laborum."], ["body", "Nesciunt exercitationem laborum. Dolorem sit sed. Possimus beatae in."], ["created_at", "2019-01-19 07:46:24.918903"], ["updated_at", "2019-01-19 07:46:24.918903"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:46:24.920833"], ["updated_at", "2019-01-19 07:46:24.920833"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:46:24.922420"], ["updated_at", "2019-01-19 07:46:24.922420"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Incidunt molestias quis provident."], ["body", "Adipisci ad voluptas. Tempore corrupti qui. Rerum repellat sed."], ["created_at", "2019-01-19 07:46:24.924491"], ["updated_at", "2019-01-19 07:46:24.924491"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:46:24.926317"], ["updated_at", "2019-01-19 07:46:24.926317"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:46:24.927998"], ["updated_at", "2019-01-19 07:46:24.927998"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "In voluptates atque rerum."], ["body", "Sit quasi consequatur. Asperiores ab a. Maiores est quibusdam."], ["created_at", "2019-01-19 07:46:24.930085"], ["updated_at", "2019-01-19 07:46:24.930085"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:46:24.931836"], ["updated_at", "2019-01-19 07:46:24.931836"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:46:24.933529"], ["updated_at", "2019-01-19 07:46:24.933529"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "In odio enim molestiae."], ["body", "Est corrupti quis. Inventore illum fugit. Repellat minus corrupti."], ["created_at", "2019-01-19 07:46:24.935581"], ["updated_at", "2019-01-19 07:46:24.935581"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:46:24.937461"], ["updated_at", "2019-01-19 07:46:24.937461"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:46:24.939098"], ["updated_at", "2019-01-19 07:46:24.939098"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Aperiam hic et ut."], ["body", "Provident aut distinctio. Eligendi quae sunt. Illum cupiditate sit."], ["created_at", "2019-01-19 07:46:24.941067"], ["updated_at", "2019-01-19 07:46:24.941067"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:46:24.942747"], ["updated_at", "2019-01-19 07:46:24.942747"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:46:24.944433"], ["updated_at", "2019-01-19 07:46:24.944433"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Molestiae consequatur eos ipsam."], ["body", "Adipisci consequatur ducimus. Eos suscipit ut. Vel est ut."], ["created_at", "2019-01-19 07:46:24.946279"], ["updated_at", "2019-01-19 07:46:24.946279"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:46:24.947990"], ["updated_at", "2019-01-19 07:46:24.947990"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:46:24.949516"], ["updated_at", "2019-01-19 07:46:24.949516"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Iusto sint autem quod."], ["body", "Fugit ut rerum. Odit officia quae. Et laborum saepe."], ["created_at", "2019-01-19 07:46:24.951345"], ["updated_at", "2019-01-19 07:46:24.951345"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:46:24.953052"], ["updated_at", "2019-01-19 07:46:24.953052"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:46:24.954942"], ["updated_at", "2019-01-19 07:46:24.954942"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Cum excepturi sequi commodi."], ["body", "Reiciendis doloribus laboriosam. Provident impedit blanditiis. Eum consequatur nobis."], ["created_at", "2019-01-19 07:46:24.957083"], ["updated_at", "2019-01-19 07:46:24.957083"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:46:24.958930"], ["updated_at", "2019-01-19 07:46:24.958930"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:46:24.960454"], ["updated_at", "2019-01-19 07:46:24.960454"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Ut velit et est."], ["body", "Optio ex temporibus. Consectetur voluptatem consequatur. Eaque et reprehenderit."], ["created_at", "2019-01-19 07:46:24.962389"], ["updated_at", "2019-01-19 07:46:24.962389"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:46:24.964045"], ["updated_at", "2019-01-19 07:46:24.964045"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.1ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:46:24.966071"], ["updated_at", "2019-01-19 07:46:24.966071"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Non et quaerat blanditiis."], ["body", "Et corporis cupiditate. Quaerat sed et. Doloremque temporibus cupiditate."], ["created_at", "2019-01-19 07:46:24.968090"], ["updated_at", "2019-01-19 07:46:24.968090"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:46:24.969867"], ["updated_at", "2019-01-19 07:46:24.969867"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:46:24.971591"], ["updated_at", "2019-01-19 07:46:24.971591"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Necessitatibus sed est quod."], ["body", "Iste esse iure. Sit vel qui. Nulla molestiae ducimus."], ["created_at", "2019-01-19 07:46:24.973492"], ["updated_at", "2019-01-19 07:46:24.973492"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:46:24.975246"], ["updated_at", "2019-01-19 07:46:24.975246"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:46:24.977125"], ["updated_at", "2019-01-19 07:46:24.977125"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ut tempore qui dolore."], ["body", "Assumenda rerum omnis. Consequatur maxime asperiores. Minus labore quas."], ["created_at", "2019-01-19 07:46:24.979026"], ["updated_at", "2019-01-19 07:46:24.979026"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:46:24.980775"], ["updated_at", "2019-01-19 07:46:24.980775"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:46:24.982392"], ["updated_at", "2019-01-19 07:46:24.982392"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Vel et ut rerum."], ["body", "Quia quibusdam quis. Est adipisci dolorum. Sed quia id."], ["created_at", "2019-01-19 07:46:24.984237"], ["updated_at", "2019-01-19 07:46:24.984237"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:46:24.986079"], ["updated_at", "2019-01-19 07:46:24.986079"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:46:24.988194"], ["updated_at", "2019-01-19 07:46:24.988194"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Consectetur aut deserunt perferendis."], ["body", "Omnis ab autem. Sint et ut. Et ut quia."], ["created_at", "2019-01-19 07:46:24.990191"], ["updated_at", "2019-01-19 07:46:24.990191"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:46:24.991813"], ["updated_at", "2019-01-19 07:46:24.991813"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:46:24.993524"], ["updated_at", "2019-01-19 07:46:24.993524"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Inventore assumenda dolores atque."], ["body", "A et vel. Adipisci qui sit. Fuga in quos."], ["created_at", "2019-01-19 07:46:24.995718"], ["updated_at", "2019-01-19 07:46:24.995718"]] ↳ db/seeds.rb:50  (0.8ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:46:24.997884"], ["updated_at", "2019-01-19 07:46:24.997884"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:46:24.999658"], ["updated_at", "2019-01-19 07:46:24.999658"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Nihil vero temporibus omnis."], ["body", "Ullam illo ut. Architecto blanditiis accusamus. Eum fuga molestias."], ["created_at", "2019-01-19 07:46:25.001703"], ["updated_at", "2019-01-19 07:46:25.001703"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:46:25.003598"], ["updated_at", "2019-01-19 07:46:25.003598"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:46:25.005304"], ["updated_at", "2019-01-19 07:46:25.005304"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Eius adipisci omnis vitae."], ["body", "Nihil et aliquam. Est consequatur tempora. Minima eligendi esse."], ["created_at", "2019-01-19 07:46:25.007209"], ["updated_at", "2019-01-19 07:46:25.007209"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:46:25.009177"], ["updated_at", "2019-01-19 07:46:25.009177"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:46:25.011002"], ["updated_at", "2019-01-19 07:46:25.011002"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Culpa amet facere doloremque."], ["body", "Et voluptate asperiores. Corrupti fuga soluta. Maiores voluptas voluptas."], ["created_at", "2019-01-19 07:46:25.012925"], ["updated_at", "2019-01-19 07:46:25.012925"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:46:25.014673"], ["updated_at", "2019-01-19 07:46:25.014673"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:46:25.016403"], ["updated_at", "2019-01-19 07:46:25.016403"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Ipsum ut atque et."], ["body", "Nemo repudiandae quae. Doloribus quia rerum. Numquam et libero."], ["created_at", "2019-01-19 07:46:25.018341"], ["updated_at", "2019-01-19 07:46:25.018341"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:46:25.020760"], ["updated_at", "2019-01-19 07:46:25.020760"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:46:25.022538"], ["updated_at", "2019-01-19 07:46:25.022538"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Iure facere porro placeat."], ["body", "Sed quia a. Aut assumenda facilis. Veritatis ut voluptates."], ["created_at", "2019-01-19 07:46:25.024523"], ["updated_at", "2019-01-19 07:46:25.024523"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:46:25.026309"], ["updated_at", "2019-01-19 07:46:25.026309"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:46:25.027871"], ["updated_at", "2019-01-19 07:46:25.027871"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Inventore occaecati provident quis."], ["body", "Dolorem accusantium occaecati. Ipsam quod ut. Quae itaque facilis."], ["created_at", "2019-01-19 07:46:25.029872"], ["updated_at", "2019-01-19 07:46:25.029872"]] ↳ db/seeds.rb:50  (0.9ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:46:25.032162"], ["updated_at", "2019-01-19 07:46:25.032162"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:46:25.034299"], ["updated_at", "2019-01-19 07:46:25.034299"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Autem nam ab consequatur."], ["body", "Provident tempore aperiam. Odit aperiam nisi. Reiciendis eos facere."], ["created_at", "2019-01-19 07:46:25.036360"], ["updated_at", "2019-01-19 07:46:25.036360"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:46:25.038188"], ["updated_at", "2019-01-19 07:46:25.038188"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:46:25.039966"], ["updated_at", "2019-01-19 07:46:25.039966"]] ↳ db/seeds.rb:48  (0.9ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Reiciendis voluptate iste aliquid."], ["body", "Et autem ut. Totam et esse. Sit quia fuga."], ["created_at", "2019-01-19 07:46:25.042262"], ["updated_at", "2019-01-19 07:46:25.042262"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:46:25.044447"], ["updated_at", "2019-01-19 07:46:25.044447"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:46:25.046283"], ["updated_at", "2019-01-19 07:46:25.046283"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "properties"], ["created_at", "2019-01-19 07:46:25.052308"], ["updated_at", "2019-01-19 07:46:25.052308"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "routes"], ["created_at", "2019-01-19 07:46:25.054786"], ["updated_at", "2019-01-19 07:46:25.054786"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.056709"], ["updated_at", "2019-01-19 07:46:25.056709"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/mailers"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.058628"], ["updated_at", "2019-01-19 07:46:25.058628"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "visitors"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.060569"], ["updated_at", "2019-01-19 07:46:25.060569"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.062667"], ["updated_at", "2019-01-19 07:46:25.062667"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.064647"], ["updated_at", "2019-01-19 07:46:25.064647"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.066793"], ["updated_at", "2019-01-19 07:46:25.066793"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.068890"], ["updated_at", "2019-01-19 07:46:25.068890"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.071037"], ["updated_at", "2019-01-19 07:46:25.071037"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.072921"], ["updated_at", "2019-01-19 07:46:25.072921"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.074942"], ["updated_at", "2019-01-19 07:46:25.074942"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "cancel"], ["created_at", "2019-01-19 07:46:25.077203"], ["updated_at", "2019-01-19 07:46:25.077203"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.079402"], ["updated_at", "2019-01-19 07:46:25.079402"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.081459"], ["updated_at", "2019-01-19 07:46:25.081459"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.083457"], ["updated_at", "2019-01-19 07:46:25.083457"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.085461"], ["updated_at", "2019-01-19 07:46:25.085461"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.087794"], ["updated_at", "2019-01-19 07:46:25.087794"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.089973"], ["updated_at", "2019-01-19 07:46:25.089973"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.092006"], ["updated_at", "2019-01-19 07:46:25.092006"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.093787"], ["updated_at", "2019-01-19 07:46:25.093787"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.095794"], ["updated_at", "2019-01-19 07:46:25.095794"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "show"], ["created_at", "2019-01-19 07:46:25.097821"], ["updated_at", "2019-01-19 07:46:25.097821"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.100116"], ["updated_at", "2019-01-19 07:46:25.100116"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.102498"], ["updated_at", "2019-01-19 07:46:25.102498"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.104580"], ["updated_at", "2019-01-19 07:46:25.104580"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.106613"], ["updated_at", "2019-01-19 07:46:25.106613"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.108735"], ["updated_at", "2019-01-19 07:46:25.108735"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.110711"], ["updated_at", "2019-01-19 07:46:25.110711"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.112863"], ["updated_at", "2019-01-19 07:46:25.112863"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.114987"], ["updated_at", "2019-01-19 07:46:25.114987"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.116885"], ["updated_at", "2019-01-19 07:46:25.116885"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.118835"], ["updated_at", "2019-01-19 07:46:25.118835"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.121147"], ["updated_at", "2019-01-19 07:46:25.121147"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.123335"], ["updated_at", "2019-01-19 07:46:25.123335"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.128135"], ["updated_at", "2019-01-19 07:46:25.128135"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.130344"], ["updated_at", "2019-01-19 07:46:25.130344"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.132354"], ["updated_at", "2019-01-19 07:46:25.132354"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.134540"], ["updated_at", "2019-01-19 07:46:25.134540"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.136585"], ["updated_at", "2019-01-19 07:46:25.136585"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.138687"], ["updated_at", "2019-01-19 07:46:25.138687"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/disk"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.140498"], ["updated_at", "2019-01-19 07:46:25.140498"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/direct_uploads"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.142613"], ["updated_at", "2019-01-19 07:46:25.142613"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/welcome"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.144732"], ["updated_at", "2019-01-19 07:46:25.144732"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_clearances"], ["name", "View clearances"], ["description", "View clearances"], ["created_at", "2019-01-19 07:46:25.198547"], ["updated_at", "2019-01-19 07:46:25.198547"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "clearances"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["created_at", "2019-01-19 07:46:25.223696"], ["updated_at", "2019-01-19 07:46:25.223696"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_clearances"], ["name", "Manage clearances"], ["description", "Manage clearances"], ["created_at", "2019-01-19 07:46:25.226290"], ["updated_at", "2019-01-19 07:46:25.226290"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "clearances"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["created_at", "2019-01-19 07:46:25.229361"], ["updated_at", "2019-01-19 07:46:25.229361"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["created_at", "2019-01-19 07:46:25.230599"], ["updated_at", "2019-01-19 07:46:25.230599"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["created_at", "2019-01-19 07:46:25.231648"], ["updated_at", "2019-01-19 07:46:25.231648"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["created_at", "2019-01-19 07:46:25.232660"], ["updated_at", "2019-01-19 07:46:25.232660"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["created_at", "2019-01-19 07:46:25.233721"], ["updated_at", "2019-01-19 07:46:25.233721"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["created_at", "2019-01-19 07:46:25.234726"], ["updated_at", "2019-01-19 07:46:25.234726"]] ↳ db/seeds.rb:84  (0.5ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_cities"], ["name", "View cities"], ["description", "View cities"], ["created_at", "2019-01-19 07:46:25.236942"], ["updated_at", "2019-01-19 07:46:25.236942"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "cities"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["created_at", "2019-01-19 07:46:25.240101"], ["updated_at", "2019-01-19 07:46:25.240101"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_cities"], ["name", "Manage cities"], ["description", "Manage cities"], ["created_at", "2019-01-19 07:46:25.242546"], ["updated_at", "2019-01-19 07:46:25.242546"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "cities"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["created_at", "2019-01-19 07:46:25.245438"], ["updated_at", "2019-01-19 07:46:25.245438"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["created_at", "2019-01-19 07:46:25.246804"], ["updated_at", "2019-01-19 07:46:25.246804"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["created_at", "2019-01-19 07:46:25.247989"], ["updated_at", "2019-01-19 07:46:25.247989"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["created_at", "2019-01-19 07:46:25.249029"], ["updated_at", "2019-01-19 07:46:25.249029"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["created_at", "2019-01-19 07:46:25.250110"], ["updated_at", "2019-01-19 07:46:25.250110"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["created_at", "2019-01-19 07:46:25.251129"], ["updated_at", "2019-01-19 07:46:25.251129"]] ↳ db/seeds.rb:84  (0.8ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_reports"], ["name", "View reports"], ["description", "View reports"], ["created_at", "2019-01-19 07:46:25.253560"], ["updated_at", "2019-01-19 07:46:25.253560"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "reports"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["created_at", "2019-01-19 07:46:25.257024"], ["updated_at", "2019-01-19 07:46:25.257024"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["created_at", "2019-01-19 07:46:25.258551"], ["updated_at", "2019-01-19 07:46:25.258551"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_reports"], ["name", "Manage reports"], ["description", "Manage reports"], ["created_at", "2019-01-19 07:46:25.260754"], ["updated_at", "2019-01-19 07:46:25.260754"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "reports"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["created_at", "2019-01-19 07:46:25.264104"], ["updated_at", "2019-01-19 07:46:25.264104"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["created_at", "2019-01-19 07:46:25.265507"], ["updated_at", "2019-01-19 07:46:25.265507"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["created_at", "2019-01-19 07:46:25.266678"], ["updated_at", "2019-01-19 07:46:25.266678"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["created_at", "2019-01-19 07:46:25.267944"], ["updated_at", "2019-01-19 07:46:25.267944"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["created_at", "2019-01-19 07:46:25.269208"], ["updated_at", "2019-01-19 07:46:25.269208"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["created_at", "2019-01-19 07:46:25.270468"], ["updated_at", "2019-01-19 07:46:25.270468"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["created_at", "2019-01-19 07:46:25.271713"], ["updated_at", "2019-01-19 07:46:25.271713"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_announcements"], ["name", "View announcements"], ["description", "View announcements"], ["created_at", "2019-01-19 07:46:25.274694"], ["updated_at", "2019-01-19 07:46:25.274694"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "announcements"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["created_at", "2019-01-19 07:46:25.278686"], ["updated_at", "2019-01-19 07:46:25.278686"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_announcements"], ["name", "Manage announcements"], ["description", "Manage announcements"], ["created_at", "2019-01-19 07:46:25.281528"], ["updated_at", "2019-01-19 07:46:25.281528"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "announcements"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["created_at", "2019-01-19 07:46:25.285027"], ["updated_at", "2019-01-19 07:46:25.285027"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["created_at", "2019-01-19 07:46:25.286552"], ["updated_at", "2019-01-19 07:46:25.286552"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["created_at", "2019-01-19 07:46:25.288019"], ["updated_at", "2019-01-19 07:46:25.288019"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["created_at", "2019-01-19 07:46:25.289283"], ["updated_at", "2019-01-19 07:46:25.289283"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "general_director"], ["name", "general_director"], ["description", "general_director"], ["created_at", "2019-01-19 07:46:25.297171"], ["updated_at", "2019-01-19 07:46:25.297171"]] ↳ db/seeds.rb:95  (0.9ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.309541"], ["updated_at", "2019-01-19 07:46:25.309541"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.310968"], ["updated_at", "2019-01-19 07:46:25.310968"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.312018"], ["updated_at", "2019-01-19 07:46:25.312018"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.313128"], ["updated_at", "2019-01-19 07:46:25.313128"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.314224"], ["updated_at", "2019-01-19 07:46:25.314224"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.315325"], ["updated_at", "2019-01-19 07:46:25.315325"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.316363"], ["updated_at", "2019-01-19 07:46:25.316363"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 1], ["created_at", "2019-01-19 07:46:25.317432"], ["updated_at", "2019-01-19 07:46:25.317432"]] ↳ db/seeds.rb:103  (1.3ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.4ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 07:46:25.336169"], ["updated_at", "2019-01-19 07:46:25.336169"]] ↳ db/seeds.rb:106  (0.8ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_director"], ["name", "ny_director"], ["description", "ny_director"], ["created_at", "2019-01-19 07:46:25.339834"], ["updated_at", "2019-01-19 07:46:25.339834"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.343547"], ["updated_at", "2019-01-19 07:46:25.343547"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.345099"], ["updated_at", "2019-01-19 07:46:25.345099"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.346360"], ["updated_at", "2019-01-19 07:46:25.346360"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.347525"], ["updated_at", "2019-01-19 07:46:25.347525"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.348787"], ["updated_at", "2019-01-19 07:46:25.348787"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.349921"], ["updated_at", "2019-01-19 07:46:25.349921"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.351055"], ["updated_at", "2019-01-19 07:46:25.351055"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 2], ["created_at", "2019-01-19 07:46:25.352207"], ["updated_at", "2019-01-19 07:46:25.352207"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["created_at", "2019-01-19 07:46:25.355025"], ["updated_at", "2019-01-19 07:46:25.355025"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_director"], ["name", "sf_director"], ["description", "sf_director"], ["created_at", "2019-01-19 07:46:25.357510"], ["updated_at", "2019-01-19 07:46:25.357510"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.360507"], ["updated_at", "2019-01-19 07:46:25.360507"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.361788"], ["updated_at", "2019-01-19 07:46:25.361788"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.362906"], ["updated_at", "2019-01-19 07:46:25.362906"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.363973"], ["updated_at", "2019-01-19 07:46:25.363973"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.365324"], ["updated_at", "2019-01-19 07:46:25.365324"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.366478"], ["updated_at", "2019-01-19 07:46:25.366478"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.367572"], ["updated_at", "2019-01-19 07:46:25.367572"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 3], ["created_at", "2019-01-19 07:46:25.368684"], ["updated_at", "2019-01-19 07:46:25.368684"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["created_at", "2019-01-19 07:46:25.371413"], ["updated_at", "2019-01-19 07:46:25.371413"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_agent"], ["name", "ny_agent"], ["description", "ny_agent"], ["created_at", "2019-01-19 07:46:25.373804"], ["updated_at", "2019-01-19 07:46:25.373804"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.376917"], ["updated_at", "2019-01-19 07:46:25.376917"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.378287"], ["updated_at", "2019-01-19 07:46:25.378287"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.379356"], ["updated_at", "2019-01-19 07:46:25.379356"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.380396"], ["updated_at", "2019-01-19 07:46:25.380396"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.381623"], ["updated_at", "2019-01-19 07:46:25.381623"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.382708"], ["updated_at", "2019-01-19 07:46:25.382708"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.383764"], ["updated_at", "2019-01-19 07:46:25.383764"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 4], ["created_at", "2019-01-19 07:46:25.384823"], ["updated_at", "2019-01-19 07:46:25.384823"]] ↳ db/seeds.rb:103  (1.3ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["created_at", "2019-01-19 07:46:25.389219"], ["updated_at", "2019-01-19 07:46:25.389219"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_agent"], ["name", "sf_agent"], ["description", "sf_agent"], ["created_at", "2019-01-19 07:46:25.391787"], ["updated_at", "2019-01-19 07:46:25.391787"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.394831"], ["updated_at", "2019-01-19 07:46:25.394831"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.396228"], ["updated_at", "2019-01-19 07:46:25.396228"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.397599"], ["updated_at", "2019-01-19 07:46:25.397599"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.398732"], ["updated_at", "2019-01-19 07:46:25.398732"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.399815"], ["updated_at", "2019-01-19 07:46:25.399815"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.400919"], ["updated_at", "2019-01-19 07:46:25.400919"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.402019"], ["updated_at", "2019-01-19 07:46:25.402019"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 5], ["created_at", "2019-01-19 07:46:25.403106"], ["updated_at", "2019-01-19 07:46:25.403106"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["created_at", "2019-01-19 07:46:25.405924"], ["updated_at", "2019-01-19 07:46:25.405924"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_auditor"], ["name", "ny_auditor"], ["description", "ny_auditor"], ["created_at", "2019-01-19 07:46:25.408426"], ["updated_at", "2019-01-19 07:46:25.408426"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 6], ["created_at", "2019-01-19 07:46:25.411508"], ["updated_at", "2019-01-19 07:46:25.411508"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 6], ["created_at", "2019-01-19 07:46:25.412839"], ["updated_at", "2019-01-19 07:46:25.412839"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 6], ["created_at", "2019-01-19 07:46:25.413939"], ["updated_at", "2019-01-19 07:46:25.413939"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 6], ["created_at", "2019-01-19 07:46:25.415242"], ["updated_at", "2019-01-19 07:46:25.415242"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["created_at", "2019-01-19 07:46:25.421443"], ["updated_at", "2019-01-19 07:46:25.421443"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_auditor"], ["name", "sf_auditor"], ["description", "sf_auditor"], ["created_at", "2019-01-19 07:46:25.424698"], ["updated_at", "2019-01-19 07:46:25.424698"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 7], ["created_at", "2019-01-19 07:46:25.428597"], ["updated_at", "2019-01-19 07:46:25.428597"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 7], ["created_at", "2019-01-19 07:46:25.430171"], ["updated_at", "2019-01-19 07:46:25.430171"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 7], ["created_at", "2019-01-19 07:46:25.431758"], ["updated_at", "2019-01-19 07:46:25.431758"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 7], ["created_at", "2019-01-19 07:46:25.433145"], ["updated_at", "2019-01-19 07:46:25.433145"]] ↳ db/seeds.rb:103  (0.8ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["created_at", "2019-01-19 07:46:25.436483"], ["updated_at", "2019-01-19 07:46:25.436483"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:113  (0.0ms) begin transaction ↳ db/seeds.rb:114 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:114  (0.2ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 07:46:25.445305"], ["updated_at", "2019-01-19 07:46:25.445305"]] ↳ db/seeds.rb:114  (0.6ms) commit transaction ↳ db/seeds.rb:114  (0.0ms) begin transaction ↳ db/seeds.rb:115 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:115  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 07:46:25.448158"], ["updated_at", "2019-01-19 07:46:25.448158"]] ↳ db/seeds.rb:115  (0.5ms) commit transaction ↳ db/seeds.rb:115 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'ny%') ↳ db/seeds.rb:122  (0.1ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["keyword", "New York"], ["created_at", "2019-01-19 07:46:25.450862"], ["updated_at", "2019-01-19 07:46:25.450862"]] ↳ db/seeds.rb:123  (0.7ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["keyword", "New York"], ["created_at", "2019-01-19 07:46:25.453217"], ["updated_at", "2019-01-19 07:46:25.453217"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["keyword", "New York"], ["created_at", "2019-01-19 07:46:25.455492"], ["updated_at", "2019-01-19 07:46:25.455492"]] ↳ db/seeds.rb:123  (0.5ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'sf%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["keyword", "San Francisco"], ["created_at", "2019-01-19 07:46:25.458110"], ["updated_at", "2019-01-19 07:46:25.458110"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["keyword", "San Francisco"], ["created_at", "2019-01-19 07:46:25.460772"], ["updated_at", "2019-01-19 07:46:25.460772"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["keyword", "San Francisco"], ["created_at", "2019-01-19 07:46:25.463478"], ["updated_at", "2019-01-19 07:46:25.463478"]] ↳ db/seeds.rb:123  (0.7ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_director"], ["name", "sf_director"]] ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.4ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["keyword", "All"], ["created_at", "2019-01-19 07:46:25.467348"], ["updated_at", "2019-01-19 07:46:25.467348"]] ↳ db/seeds.rb:129  (0.7ms) commit transaction ↳ db/seeds.rb:129  (0.1ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.4ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["keyword", "All"], ["created_at", "2019-01-19 07:46:25.470599"], ["updated_at", "2019-01-19 07:46:25.470599"]] ↳ db/seeds.rb:129  (0.7ms) commit transaction ↳ db/seeds.rb:129 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_agent"], ["name", "sf_agent"]] ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["keyword", "secret"], ["created_at", "2019-01-19 07:46:25.474061"], ["updated_at", "2019-01-19 07:46:25.474061"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["keyword", "secret"], ["created_at", "2019-01-19 07:46:25.476727"], ["updated_at", "2019-01-19 07:46:25.476727"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE '%auditor%') ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["keyword", "All"], ["created_at", "2019-01-19 07:46:25.479658"], ["updated_at", "2019-01-19 07:46:25.479658"]] ↳ db/seeds.rb:137  (0.7ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["keyword", "All"], ["created_at", "2019-01-19 07:46:25.482205"], ["updated_at", "2019-01-19 07:46:25.482205"]] ↳ db/seeds.rb:137  (0.6ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:142 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny and sf"], ["created_at", "2019-01-19 07:46:25.488456"], ["updated_at", "2019-01-19 07:46:25.488456"]] ↳ db/seeds.rb:142  (0.5ms) commit transaction ↳ db/seeds.rb:142  (0.0ms) begin transaction ↳ db/seeds.rb:143 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 1], ["created_at", "2019-01-19 07:46:25.498510"], ["updated_at", "2019-01-19 07:46:25.498510"]] ↳ db/seeds.rb:143 AnnouncementCity Create (0.1ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 2], ["created_at", "2019-01-19 07:46:25.499711"], ["updated_at", "2019-01-19 07:46:25.499711"]] ↳ db/seeds.rb:143  (0.7ms) commit transaction ↳ db/seeds.rb:143  (0.0ms) begin transaction ↳ db/seeds.rb:145 Announcement Create (0.3ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny"], ["created_at", "2019-01-19 07:46:25.501321"], ["updated_at", "2019-01-19 07:46:25.501321"]] ↳ db/seeds.rb:145  (0.6ms) commit transaction ↳ db/seeds.rb:145  (0.0ms) begin transaction ↳ db/seeds.rb:146 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["city_id", 1], ["created_at", "2019-01-19 07:46:25.503713"], ["updated_at", "2019-01-19 07:46:25.503713"]] ↳ db/seeds.rb:146  (0.6ms) commit transaction ↳ db/seeds.rb:146  (0.0ms) begin transaction ↳ db/seeds.rb:148 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for sf"], ["created_at", "2019-01-19 07:46:25.505295"], ["updated_at", "2019-01-19 07:46:25.505295"]] ↳ db/seeds.rb:148  (0.6ms) commit transaction ↳ db/seeds.rb:148  (0.0ms) begin transaction ↳ db/seeds.rb:149 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 3], ["city_id", 2], ["created_at", "2019-01-19 07:46:25.507575"], ["updated_at", "2019-01-19 07:46:25.507575"]] ↳ db/seeds.rb:149  (0.5ms) commit transaction ↳ db/seeds.rb:149  (0.1ms) begin transaction ↳ db/seeds.rb:151 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for no one"], ["created_at", "2019-01-19 07:46:25.509140"], ["updated_at", "2019-01-19 07:46:25.509140"]] ↳ db/seeds.rb:151  (0.6ms) commit transaction ↳ db/seeds.rb:151  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.511715"], ["updated_at", "2019-01-19 07:46:25.511715"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.514030"], ["updated_at", "2019-01-19 07:46:25.514030"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.516103"], ["updated_at", "2019-01-19 07:46:25.516103"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.518077"], ["updated_at", "2019-01-19 07:46:25.518077"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.520128"], ["updated_at", "2019-01-19 07:46:25.520128"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 07:46:25.522245"], ["updated_at", "2019-01-19 07:46:25.522245"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.524169"], ["updated_at", "2019-01-19 07:46:25.524169"]] ↳ db/seeds.rb:159  (1.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.527701"], ["updated_at", "2019-01-19 07:46:25.527701"]] ↳ db/seeds.rb:159  (0.8ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.530203"], ["updated_at", "2019-01-19 07:46:25.530203"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.532677"], ["updated_at", "2019-01-19 07:46:25.532677"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.534785"], ["updated_at", "2019-01-19 07:46:25.534785"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.536924"], ["updated_at", "2019-01-19 07:46:25.536924"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 07:46:25.538996"], ["updated_at", "2019-01-19 07:46:25.538996"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.541078"], ["updated_at", "2019-01-19 07:46:25.541078"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.543547"], ["updated_at", "2019-01-19 07:46:25.543547"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.546095"], ["updated_at", "2019-01-19 07:46:25.546095"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.548251"], ["updated_at", "2019-01-19 07:46:25.548251"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.550506"], ["updated_at", "2019-01-19 07:46:25.550506"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.552630"], ["updated_at", "2019-01-19 07:46:25.552630"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.554882"], ["updated_at", "2019-01-19 07:46:25.554882"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 07:46:25.557258"], ["updated_at", "2019-01-19 07:46:25.557258"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.559638"], ["updated_at", "2019-01-19 07:46:25.559638"]] ↳ db/seeds.rb:159  (0.8ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.562564"], ["updated_at", "2019-01-19 07:46:25.562564"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 07:46:25.565310"], ["updated_at", "2019-01-19 07:46:25.565310"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.567968"], ["updated_at", "2019-01-19 07:46:25.567968"]] ↳ db/seeds.rb:159  (0.8ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 07:46:25.570557"], ["updated_at", "2019-01-19 07:46:25.570557"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.572888"], ["updated_at", "2019-01-19 07:46:25.572888"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.574928"], ["updated_at", "2019-01-19 07:46:25.574928"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.577162"], ["updated_at", "2019-01-19 07:46:25.577162"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.579182"], ["updated_at", "2019-01-19 07:46:25.579182"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 07:46:25.581229"], ["updated_at", "2019-01-19 07:46:25.581229"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.583288"], ["updated_at", "2019-01-19 07:46:25.583288"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 07:46:25.585257"], ["updated_at", "2019-01-19 07:46:25.585257"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 07:46:25.587399"], ["updated_at", "2019-01-19 07:46:25.587399"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 07:46:25.589540"], ["updated_at", "2019-01-19 07:46:25.589540"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 07:46:25.591671"], ["updated_at", "2019-01-19 07:46:25.591671"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 07:46:25.594325"], ["updated_at", "2019-01-19 07:46:25.594325"]] ↳ db/seeds.rb:166  (0.6ms) commit transaction ↳ db/seeds.rb:166 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.4ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.599502"], ["updated_at", "2019-01-19 07:46:25.599502"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.601588"], ["updated_at", "2019-01-19 07:46:25.601588"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.603110"], ["updated_at", "2019-01-19 07:46:25.603110"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.604580"], ["updated_at", "2019-01-19 07:46:25.604580"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.605965"], ["updated_at", "2019-01-19 07:46:25.605965"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.607202"], ["updated_at", "2019-01-19 07:46:25.607202"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.608438"], ["updated_at", "2019-01-19 07:46:25.608438"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.609661"], ["updated_at", "2019-01-19 07:46:25.609661"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.610846"], ["updated_at", "2019-01-19 07:46:25.610846"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.612050"], ["updated_at", "2019-01-19 07:46:25.612050"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.613171"], ["updated_at", "2019-01-19 07:46:25.613171"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.614290"], ["updated_at", "2019-01-19 07:46:25.614290"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.615406"], ["updated_at", "2019-01-19 07:46:25.615406"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.616502"], ["updated_at", "2019-01-19 07:46:25.616502"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.617621"], ["updated_at", "2019-01-19 07:46:25.617621"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.618687"], ["updated_at", "2019-01-19 07:46:25.618687"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.619767"], ["updated_at", "2019-01-19 07:46:25.619767"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.620807"], ["updated_at", "2019-01-19 07:46:25.620807"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.621847"], ["updated_at", "2019-01-19 07:46:25.621847"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.622912"], ["updated_at", "2019-01-19 07:46:25.622912"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.623944"], ["updated_at", "2019-01-19 07:46:25.623944"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.624998"], ["updated_at", "2019-01-19 07:46:25.624998"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.626012"], ["updated_at", "2019-01-19 07:46:25.626012"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.627027"], ["updated_at", "2019-01-19 07:46:25.627027"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.627999"], ["updated_at", "2019-01-19 07:46:25.627999"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.628936"], ["updated_at", "2019-01-19 07:46:25.628936"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.629923"], ["updated_at", "2019-01-19 07:46:25.629923"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.630909"], ["updated_at", "2019-01-19 07:46:25.630909"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.632030"], ["updated_at", "2019-01-19 07:46:25.632030"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.633105"], ["updated_at", "2019-01-19 07:46:25.633105"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.634042"], ["updated_at", "2019-01-19 07:46:25.634042"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.634970"], ["updated_at", "2019-01-19 07:46:25.634970"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.635903"], ["updated_at", "2019-01-19 07:46:25.635903"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.636829"], ["updated_at", "2019-01-19 07:46:25.636829"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.637757"], ["updated_at", "2019-01-19 07:46:25.637757"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 07:46:25.638693"], ["updated_at", "2019-01-19 07:46:25.638693"]] ↳ db/seeds.rb:167  (0.9ms) commit transaction ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:170 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "auth_admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Auth Admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "auth_admin"], ["name", "Auth Admin"], ["description", "Auth Admin"], ["created_at", "2019-01-19 07:46:25.641180"], ["updated_at", "2019-01-19 07:46:25.641180"]] ↳ db/seeds.rb:170  (0.4ms) commit transaction ↳ db/seeds.rb:170  (0.0ms) begin transaction ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 8], ["created_at", "2019-01-19 07:46:25.643669"], ["updated_at", "2019-01-19 07:46:25.643669"]] ↳ db/seeds.rb:171  (0.6ms) commit transaction ↳ db/seeds.rb:171  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.5ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.5ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.5ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 07:48:19.219396"], ["updated_at", "2019-01-19 07:48:19.219396"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:48:19.222547"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.4ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.5ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.5ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.5ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.5ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 07:49:02.541277"], ["updated_at", "2019-01-19 07:49:02.541277"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:49:02.544506"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (1.2ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.0ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.8ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.8ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.8ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.8ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.8ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.7ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.8ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.8ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13  (0.0ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14  (0.0ms) commit transaction ↳ bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.1ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.2ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (1.0ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.8ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.8ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.2ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (1.1ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 07:51:21.260986"], ["updated_at", "2019-01-19 07:51:21.260986"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:51:21.263132"], ["key", "environment"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$LWAgRkWzdMi7yiQgD7vKMu0sUx3clca3aRMyVHxga2vZDT/zmNRcm"], ["created_at", "2019-01-19 07:51:21.372381"], ["updated_at", "2019-01-19 07:51:21.372381"]] ↳ db/seeds.rb:3  (1.2ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$dIdDzrAA7VcxBaX7OccVPeMCjso.HqBIglugN9crhGhtgzwXrb8y."], ["created_at", "2019-01-19 07:51:21.465498"], ["updated_at", "2019-01-19 07:51:21.465498"]] ↳ db/seeds.rb:4  (1.2ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$hqsE9Yd768VdlBC.shv1xOulGl7dLwb5x2IngIvokudGJrPoxRE3O"], ["created_at", "2019-01-19 07:51:21.555692"], ["updated_at", "2019-01-19 07:51:21.555692"]] ↳ db/seeds.rb:5  (1.2ms) commit transaction ↳ db/seeds.rb:5  (0.1ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$dNdtoYbAZN5FuJX0FXBRtO.7kCOXzMWn0ur5WSGMla9O../DwvUM2"], ["created_at", "2019-01-19 07:51:21.653285"], ["updated_at", "2019-01-19 07:51:21.653285"]] ↳ db/seeds.rb:6  (1.3ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$ubjjvrX4bJb9f6XK/aQTs.b/gVzVDTlcwsfQUQu886IDk3hVFohPK"], ["created_at", "2019-01-19 07:51:21.744828"], ["updated_at", "2019-01-19 07:51:21.744828"]] ↳ db/seeds.rb:7  (1.3ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$SpQV2cxvR.Px.qJAbcAyweVv3hexh0Lt35Sdk.BcF2ZrRAKWQxB7m"], ["created_at", "2019-01-19 07:51:21.838277"], ["updated_at", "2019-01-19 07:51:21.838277"]] ↳ db/seeds.rb:8  (1.3ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$KR6T7wM4n.cy48l2BKJcV.jOzEPiTsU57XMZ4h9libOUcwYygrasa"], ["created_at", "2019-01-19 07:51:21.927401"], ["updated_at", "2019-01-19 07:51:21.927401"]] ↳ db/seeds.rb:9  (0.9ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 07:51:21.935276"], ["updated_at", "2019-01-19 07:51:21.935276"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 07:51:21.937573"], ["updated_at", "2019-01-19 07:51:21.937573"]] ↳ db/seeds.rb:14  (0.6ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 07:51:21.944171"], ["updated_at", "2019-01-19 07:51:21.944171"]] ↳ db/seeds.rb:18  (0.6ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 07:51:21.946113"], ["updated_at", "2019-01-19 07:51:21.946113"]] ↳ db/seeds.rb:19  (0.5ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.8ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Ex possimus nam vero."], ["body", "Aut dolor quia. Mollitia aspernatur aut. Est recusandae facilis."], ["created_at", "2019-01-19 07:51:22.393313"], ["updated_at", "2019-01-19 07:51:22.393313"]] ↳ db/seeds.rb:25  (1.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 07:51:22.409173"], ["updated_at", "2019-01-19 07:51:22.409173"]] ↳ db/seeds.rb:27  (1.3ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:51:22.412005"], ["updated_at", "2019-01-19 07:51:22.412005"]] ↳ db/seeds.rb:27  (1.1ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Veniam similique in numquam."], ["body", "Dolore velit nisi. Rerum soluta similique. Expedita dolorum amet."], ["created_at", "2019-01-19 07:51:22.415209"], ["updated_at", "2019-01-19 07:51:22.415209"]] ↳ db/seeds.rb:29  (1.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:51:22.418378"], ["updated_at", "2019-01-19 07:51:22.418378"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:51:22.420213"], ["updated_at", "2019-01-19 07:51:22.420213"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Possimus ea velit consectetur."], ["body", "Odio consectetur voluptatem. Quisquam officia similique. Voluptatem impedit aliquid."], ["created_at", "2019-01-19 07:51:22.422201"], ["updated_at", "2019-01-19 07:51:22.422201"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:51:22.423882"], ["updated_at", "2019-01-19 07:51:22.423882"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:51:22.425523"], ["updated_at", "2019-01-19 07:51:22.425523"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Impedit quasi non ut."], ["body", "Ut et laborum. Corporis provident dolores. Nesciunt ratione aperiam."], ["created_at", "2019-01-19 07:51:22.427371"], ["updated_at", "2019-01-19 07:51:22.427371"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:51:22.428968"], ["updated_at", "2019-01-19 07:51:22.428968"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.1ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:51:22.430970"], ["updated_at", "2019-01-19 07:51:22.430970"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Nostrum officiis voluptatem beatae."], ["body", "Pariatur rerum iusto. Nesciunt dolores ex. Labore omnis voluptatem."], ["created_at", "2019-01-19 07:51:22.432906"], ["updated_at", "2019-01-19 07:51:22.432906"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:51:22.434630"], ["updated_at", "2019-01-19 07:51:22.434630"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:51:22.436149"], ["updated_at", "2019-01-19 07:51:22.436149"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Asperiores libero a eos."], ["body", "Non a non. Ipsa sequi assumenda. Ut hic dignissimos."], ["created_at", "2019-01-19 07:51:22.437960"], ["updated_at", "2019-01-19 07:51:22.437960"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:51:22.439795"], ["updated_at", "2019-01-19 07:51:22.439795"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:51:22.441602"], ["updated_at", "2019-01-19 07:51:22.441602"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Harum voluptatem minima vero."], ["body", "Et doloremque rerum. Nulla in cum. Est illum adipisci."], ["created_at", "2019-01-19 07:51:22.443565"], ["updated_at", "2019-01-19 07:51:22.443565"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:51:22.445374"], ["updated_at", "2019-01-19 07:51:22.445374"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:51:22.447117"], ["updated_at", "2019-01-19 07:51:22.447117"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Ea perferendis id aut."], ["body", "Temporibus assumenda facilis. Ullam inventore quos. Quam dolorem aut."], ["created_at", "2019-01-19 07:51:22.449124"], ["updated_at", "2019-01-19 07:51:22.449124"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:51:22.450721"], ["updated_at", "2019-01-19 07:51:22.450721"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.1ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:51:22.452747"], ["updated_at", "2019-01-19 07:51:22.452747"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Maiores et sit ullam."], ["body", "Modi id officiis. Error qui ratione. Id illo qui."], ["created_at", "2019-01-19 07:51:22.454772"], ["updated_at", "2019-01-19 07:51:22.454772"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:51:22.456465"], ["updated_at", "2019-01-19 07:51:22.456465"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:51:22.458022"], ["updated_at", "2019-01-19 07:51:22.458022"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Repellendus dolore laudantium aliquid."], ["body", "Expedita vitae architecto. Possimus qui magni. Natus perferendis incidunt."], ["created_at", "2019-01-19 07:51:22.459894"], ["updated_at", "2019-01-19 07:51:22.459894"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:51:22.461557"], ["updated_at", "2019-01-19 07:51:22.461557"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:51:22.463394"], ["updated_at", "2019-01-19 07:51:22.463394"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Eos voluptates in praesentium."], ["body", "Illum tenetur qui. Maiores aut voluptas. Quidem repellendus explicabo."], ["created_at", "2019-01-19 07:51:22.465306"], ["updated_at", "2019-01-19 07:51:22.465306"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:51:22.467009"], ["updated_at", "2019-01-19 07:51:22.467009"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:51:22.468662"], ["updated_at", "2019-01-19 07:51:22.468662"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Dolores voluptas consectetur animi."], ["body", "Harum fuga ipsa. Dolorem esse amet. Iste placeat non."], ["created_at", "2019-01-19 07:51:22.470521"], ["updated_at", "2019-01-19 07:51:22.470521"]] ↳ db/seeds.rb:41  (0.8ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:51:22.472449"], ["updated_at", "2019-01-19 07:51:22.472449"]] ↳ db/seeds.rb:43  (0.9ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:51:22.474522"], ["updated_at", "2019-01-19 07:51:22.474522"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Soluta deleniti alias eius."], ["body", "Consequatur explicabo expedita. Unde aut perspiciatis. Eius et quis."], ["created_at", "2019-01-19 07:51:22.477018"], ["updated_at", "2019-01-19 07:51:22.477018"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:51:22.478874"], ["updated_at", "2019-01-19 07:51:22.478874"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:51:22.480681"], ["updated_at", "2019-01-19 07:51:22.480681"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Nostrum nihil vitae et."], ["body", "Voluptatibus ipsum omnis. Nulla laudantium voluptatem. Et nemo neque."], ["created_at", "2019-01-19 07:51:22.482585"], ["updated_at", "2019-01-19 07:51:22.482585"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:51:22.484363"], ["updated_at", "2019-01-19 07:51:22.484363"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:51:22.486425"], ["updated_at", "2019-01-19 07:51:22.486425"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Illum iste repellat qui."], ["body", "Suscipit est nulla. Odit nostrum aut. Modi praesentium deleniti."], ["created_at", "2019-01-19 07:51:22.488430"], ["updated_at", "2019-01-19 07:51:22.488430"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:51:22.490315"], ["updated_at", "2019-01-19 07:51:22.490315"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:51:22.491910"], ["updated_at", "2019-01-19 07:51:22.491910"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Facere distinctio inventore quo."], ["body", "Ut culpa ducimus. Consequuntur aliquam repellat. Ut ea impedit."], ["created_at", "2019-01-19 07:51:22.493719"], ["updated_at", "2019-01-19 07:51:22.493719"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:51:22.495614"], ["updated_at", "2019-01-19 07:51:22.495614"]] ↳ db/seeds.rb:43  (0.8ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:51:22.497730"], ["updated_at", "2019-01-19 07:51:22.497730"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ea quos et eaque."], ["body", "Dolores omnis impedit. Eius totam omnis. Sit consequatur aut."], ["created_at", "2019-01-19 07:51:22.499720"], ["updated_at", "2019-01-19 07:51:22.499720"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:51:22.501584"], ["updated_at", "2019-01-19 07:51:22.501584"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:51:22.503231"], ["updated_at", "2019-01-19 07:51:22.503231"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Autem porro esse laborum."], ["body", "Qui vitae totam. At maxime ipsum. Eius sed accusantium."], ["created_at", "2019-01-19 07:51:22.504922"], ["updated_at", "2019-01-19 07:51:22.504922"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.1ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:51:22.507173"], ["updated_at", "2019-01-19 07:51:22.507173"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:51:22.508941"], ["updated_at", "2019-01-19 07:51:22.508941"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nihil vitae dicta saepe."], ["body", "Rerum aut qui. Sunt qui est. Facere alias nesciunt."], ["created_at", "2019-01-19 07:51:22.510856"], ["updated_at", "2019-01-19 07:51:22.510856"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:51:22.512514"], ["updated_at", "2019-01-19 07:51:22.512514"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:51:22.514216"], ["updated_at", "2019-01-19 07:51:22.514216"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Sint tempora harum temporibus."], ["body", "Velit voluptatem quibusdam. Aut nulla alias. Inventore aliquam voluptas."], ["created_at", "2019-01-19 07:51:22.516318"], ["updated_at", "2019-01-19 07:51:22.516318"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:51:22.518188"], ["updated_at", "2019-01-19 07:51:22.518188"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:51:22.519932"], ["updated_at", "2019-01-19 07:51:22.519932"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Similique quo illo quasi."], ["body", "Et animi dicta. Quas quia omnis. Autem et error."], ["created_at", "2019-01-19 07:51:22.522020"], ["updated_at", "2019-01-19 07:51:22.522020"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:51:22.523781"], ["updated_at", "2019-01-19 07:51:22.523781"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:51:22.525461"], ["updated_at", "2019-01-19 07:51:22.525461"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Ut vitae voluptates saepe."], ["body", "Omnis debitis molestiae. Esse maxime consequatur. Debitis iste velit."], ["created_at", "2019-01-19 07:51:22.527535"], ["updated_at", "2019-01-19 07:51:22.527535"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:51:22.529517"], ["updated_at", "2019-01-19 07:51:22.529517"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:51:22.531190"], ["updated_at", "2019-01-19 07:51:22.531190"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Ea doloremque in est."], ["body", "Blanditiis aliquam et. Laborum accusamus ut. Saepe ea autem."], ["created_at", "2019-01-19 07:51:22.533134"], ["updated_at", "2019-01-19 07:51:22.533134"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:51:22.534913"], ["updated_at", "2019-01-19 07:51:22.534913"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:51:22.536670"], ["updated_at", "2019-01-19 07:51:22.536670"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Quia ipsa dolorem vero."], ["body", "Voluptatem sequi at. Voluptas iste minus. Numquam est sed."], ["created_at", "2019-01-19 07:51:22.538792"], ["updated_at", "2019-01-19 07:51:22.538792"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:51:22.540944"], ["updated_at", "2019-01-19 07:51:22.540944"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:51:22.542851"], ["updated_at", "2019-01-19 07:51:22.542851"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Aut quia officia eligendi."], ["body", "Ullam modi velit. Excepturi exercitationem est. Aliquam maiores voluptate."], ["created_at", "2019-01-19 07:51:22.545040"], ["updated_at", "2019-01-19 07:51:22.545040"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.1ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:51:22.547092"], ["updated_at", "2019-01-19 07:51:22.547092"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:51:22.549079"], ["updated_at", "2019-01-19 07:51:22.549079"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Et sit cupiditate consequatur."], ["body", "Nisi voluptatem totam. Qui nesciunt eveniet. Aut autem et."], ["created_at", "2019-01-19 07:51:22.551571"], ["updated_at", "2019-01-19 07:51:22.551571"]] ↳ db/seeds.rb:50  (0.8ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:51:22.553994"], ["updated_at", "2019-01-19 07:51:22.553994"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:51:22.555956"], ["updated_at", "2019-01-19 07:51:22.555956"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Eius dolor modi quos."], ["body", "Dolores quidem at. Aut adipisci iusto. Sint sunt quia."], ["created_at", "2019-01-19 07:51:22.558213"], ["updated_at", "2019-01-19 07:51:22.558213"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:51:22.560152"], ["updated_at", "2019-01-19 07:51:22.560152"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:51:22.561916"], ["updated_at", "2019-01-19 07:51:22.561916"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Ad molestias et quo."], ["body", "Ea unde et. Facilis rerum suscipit. Sit cupiditate accusamus."], ["created_at", "2019-01-19 07:51:22.563976"], ["updated_at", "2019-01-19 07:51:22.563976"]] ↳ db/seeds.rb:50  (0.8ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:51:22.566658"], ["updated_at", "2019-01-19 07:51:22.566658"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:51:22.568583"], ["updated_at", "2019-01-19 07:51:22.568583"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Voluptatum illum quasi sed."], ["body", "Veritatis aliquid omnis. Vero omnis nostrum. Et accusamus impedit."], ["created_at", "2019-01-19 07:51:22.570894"], ["updated_at", "2019-01-19 07:51:22.570894"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:51:22.572887"], ["updated_at", "2019-01-19 07:51:22.572887"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:51:22.574945"], ["updated_at", "2019-01-19 07:51:22.574945"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Itaque velit illo ad."], ["body", "Voluptatem enim aut. Reiciendis alias iusto. Repudiandae quia alias."], ["created_at", "2019-01-19 07:51:22.577388"], ["updated_at", "2019-01-19 07:51:22.577388"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:51:22.579600"], ["updated_at", "2019-01-19 07:51:22.579600"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:51:22.581729"], ["updated_at", "2019-01-19 07:51:22.581729"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63  (0.0ms) rollback transaction ↳ db/seeds.rb:63  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (1.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.9ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.7ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.6ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (1.0ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.8ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.9ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.7ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13  (0.0ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14  (0.0ms) commit transaction ↳ bin/rails:14  (0.8ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.7ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.5ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.5ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.5ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.8ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.6ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.8ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.6ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.5ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.5ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.6ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "development"], ["updated_at", "2019-01-19 07:52:06.921470"], ["key", "environment"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:52:06.923431"], ["key", "environment"]] ↳ bin/rails:14  (0.4ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$ltLpeEoikdJgoteYu7id1.53XEPKgXuXZy6KJVB3duj/1d6snmhjq"], ["created_at", "2019-01-19 07:52:07.028918"], ["updated_at", "2019-01-19 07:52:07.028918"]] ↳ db/seeds.rb:3  (1.7ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$M8xWvz1xkmfvfsZ1d6.pIO1YbCQX2y.57LxrglVuWvAVBbyMeSXIq"], ["created_at", "2019-01-19 07:52:07.128635"], ["updated_at", "2019-01-19 07:52:07.128635"]] ↳ db/seeds.rb:4  (1.2ms) commit transaction ↳ db/seeds.rb:4  (0.1ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$Zx0xw/Q6eP4McvHzbTOytus/VJ2Zrc1kcuimoJ18NnlsKBXW7PzKK"], ["created_at", "2019-01-19 07:52:07.219131"], ["updated_at", "2019-01-19 07:52:07.219131"]] ↳ db/seeds.rb:5  (1.7ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$3BirJ.pMyEr85ZPfMdt7OeB8QRNbV9iIEdYfo3N4ODWFuDPgLK/cK"], ["created_at", "2019-01-19 07:52:07.315830"], ["updated_at", "2019-01-19 07:52:07.315830"]] ↳ db/seeds.rb:6  (1.8ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$gM.AOOpdEJx72289IOjS9ufjD0clM1H9gIWC7yC40Xp9pHklT5K52"], ["created_at", "2019-01-19 07:52:07.411167"], ["updated_at", "2019-01-19 07:52:07.411167"]] ↳ db/seeds.rb:7  (1.7ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$4QMrKAPQms1eiRmxY0YBfOGQuNRMOd44GD6ai4IZF9dHqTGLMBCI6"], ["created_at", "2019-01-19 07:52:07.515453"], ["updated_at", "2019-01-19 07:52:07.515453"]] ↳ db/seeds.rb:8  (1.2ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$f0ezWHC5iZru8OJ.LoN99e1rzbwlUkStajmErwd0Yd3NXODnWOFcG"], ["created_at", "2019-01-19 07:52:07.606363"], ["updated_at", "2019-01-19 07:52:07.606363"]] ↳ db/seeds.rb:9  (1.7ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 07:52:07.615374"], ["updated_at", "2019-01-19 07:52:07.615374"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 07:52:07.617664"], ["updated_at", "2019-01-19 07:52:07.617664"]] ↳ db/seeds.rb:14  (0.6ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 07:52:07.624781"], ["updated_at", "2019-01-19 07:52:07.624781"]] ↳ db/seeds.rb:18  (1.1ms) commit transaction ↳ db/seeds.rb:18  (0.1ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.2ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.4ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 07:52:07.628696"], ["updated_at", "2019-01-19 07:52:07.628696"]] ↳ db/seeds.rb:19  (0.7ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Facere omnis magnam natus."], ["body", "Magnam dolores excepturi. Et doloremque aut. Impedit necessitatibus consequatur."], ["created_at", "2019-01-19 07:52:08.071238"], ["updated_at", "2019-01-19 07:52:08.071238"]] ↳ db/seeds.rb:25  (1.2ms) commit transaction ↳ db/seeds.rb:25  (0.1ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.5ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 07:52:08.086351"], ["updated_at", "2019-01-19 07:52:08.086351"]] ↳ db/seeds.rb:27  (0.8ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:52:08.089288"], ["updated_at", "2019-01-19 07:52:08.089288"]] ↳ db/seeds.rb:27  (0.8ms) commit transaction ↳ db/seeds.rb:27  (0.1ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Soluta velit sunt veritatis."], ["body", "Doloribus voluptas ex. Eius omnis occaecati. Ab temporibus ut."], ["created_at", "2019-01-19 07:52:08.092071"], ["updated_at", "2019-01-19 07:52:08.092071"]] ↳ db/seeds.rb:29  (0.8ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:52:08.094453"], ["updated_at", "2019-01-19 07:52:08.094453"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:52:08.096408"], ["updated_at", "2019-01-19 07:52:08.096408"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Ut expedita occaecati est."], ["body", "Est natus esse. Dolor possimus assumenda. Voluptates non delectus."], ["created_at", "2019-01-19 07:52:08.098603"], ["updated_at", "2019-01-19 07:52:08.098603"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:52:08.100732"], ["updated_at", "2019-01-19 07:52:08.100732"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:52:08.102742"], ["updated_at", "2019-01-19 07:52:08.102742"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quidem architecto velit aut."], ["body", "Alias quod consequatur. Et ut voluptas. Voluptate soluta et."], ["created_at", "2019-01-19 07:52:08.105034"], ["updated_at", "2019-01-19 07:52:08.105034"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:52:08.107180"], ["updated_at", "2019-01-19 07:52:08.107180"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:52:08.109118"], ["updated_at", "2019-01-19 07:52:08.109118"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Consequuntur quia necessitatibus eligendi."], ["body", "Saepe iste eum. Eos voluptatem velit. Esse corporis est."], ["created_at", "2019-01-19 07:52:08.111274"], ["updated_at", "2019-01-19 07:52:08.111274"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:52:08.113288"], ["updated_at", "2019-01-19 07:52:08.113288"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:52:08.115132"], ["updated_at", "2019-01-19 07:52:08.115132"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Temporibus qui explicabo veniam."], ["body", "Ratione iste ut. Modi omnis nulla. Minus velit a."], ["created_at", "2019-01-19 07:52:08.117272"], ["updated_at", "2019-01-19 07:52:08.117272"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:52:08.119015"], ["updated_at", "2019-01-19 07:52:08.119015"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:52:08.120936"], ["updated_at", "2019-01-19 07:52:08.120936"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Accusantium fugit nobis dolorem."], ["body", "Soluta repellat libero. Est dicta corporis. Enim dolorum dolor."], ["created_at", "2019-01-19 07:52:08.123087"], ["updated_at", "2019-01-19 07:52:08.123087"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:52:08.124869"], ["updated_at", "2019-01-19 07:52:08.124869"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 07:52:08.126470"], ["updated_at", "2019-01-19 07:52:08.126470"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Reiciendis sunt occaecati omnis."], ["body", "Et nisi nihil. Ullam in quo. Aut qui accusantium."], ["created_at", "2019-01-19 07:52:08.128347"], ["updated_at", "2019-01-19 07:52:08.128347"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:52:08.130029"], ["updated_at", "2019-01-19 07:52:08.130029"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:52:08.132062"], ["updated_at", "2019-01-19 07:52:08.132062"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Accusamus qui autem distinctio."], ["body", "Quisquam non qui. Repellendus vel ut. Exercitationem numquam asperiores."], ["created_at", "2019-01-19 07:52:08.134064"], ["updated_at", "2019-01-19 07:52:08.134064"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:52:08.135893"], ["updated_at", "2019-01-19 07:52:08.135893"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:52:08.137666"], ["updated_at", "2019-01-19 07:52:08.137666"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Eaque consequatur ut officia."], ["body", "Voluptate nihil ratione. In voluptas in. Reiciendis est perferendis."], ["created_at", "2019-01-19 07:52:08.139696"], ["updated_at", "2019-01-19 07:52:08.139696"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:52:08.141409"], ["updated_at", "2019-01-19 07:52:08.141409"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:52:08.143172"], ["updated_at", "2019-01-19 07:52:08.143172"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.1ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Qui et ut rerum."], ["body", "Dolorum est eum. Eum recusandae animi. Magnam accusantium est."], ["created_at", "2019-01-19 07:52:08.145237"], ["updated_at", "2019-01-19 07:52:08.145237"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:52:08.147096"], ["updated_at", "2019-01-19 07:52:08.147096"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:52:08.148732"], ["updated_at", "2019-01-19 07:52:08.148732"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Id iusto voluptas et."], ["body", "Nam temporibus fugiat. Explicabo nostrum dolore. Impedit ut et."], ["created_at", "2019-01-19 07:52:08.150641"], ["updated_at", "2019-01-19 07:52:08.150641"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:52:08.152293"], ["updated_at", "2019-01-19 07:52:08.152293"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:52:08.154468"], ["updated_at", "2019-01-19 07:52:08.154468"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Aut ullam quod voluptatum."], ["body", "Et amet voluptatem. Esse beatae eveniet. Fugit voluptas rerum."], ["created_at", "2019-01-19 07:52:08.156406"], ["updated_at", "2019-01-19 07:52:08.156406"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:52:08.158298"], ["updated_at", "2019-01-19 07:52:08.158298"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:52:08.160074"], ["updated_at", "2019-01-19 07:52:08.160074"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Ut non ut quam."], ["body", "Vel soluta laborum. Quibusdam reprehenderit eum. Ad incidunt sed."], ["created_at", "2019-01-19 07:52:08.161994"], ["updated_at", "2019-01-19 07:52:08.161994"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:52:08.163883"], ["updated_at", "2019-01-19 07:52:08.163883"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:52:08.165665"], ["updated_at", "2019-01-19 07:52:08.165665"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Rerum quod quisquam nesciunt."], ["body", "Qui eum minus. In sed et. Illo voluptas sed."], ["created_at", "2019-01-19 07:52:08.167697"], ["updated_at", "2019-01-19 07:52:08.167697"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:52:08.169467"], ["updated_at", "2019-01-19 07:52:08.169467"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:52:08.171131"], ["updated_at", "2019-01-19 07:52:08.171131"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Magni ut velit dolor."], ["body", "Laboriosam minima sit. Nostrum quis numquam. Voluptates facere omnis."], ["created_at", "2019-01-19 07:52:08.172901"], ["updated_at", "2019-01-19 07:52:08.172901"]] ↳ db/seeds.rb:41  (0.8ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:52:08.175148"], ["updated_at", "2019-01-19 07:52:08.175148"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:52:08.177026"], ["updated_at", "2019-01-19 07:52:08.177026"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Necessitatibus illo accusamus odit."], ["body", "Ex sit error. Tenetur exercitationem sed. Sequi dolor laudantium."], ["created_at", "2019-01-19 07:52:08.179029"], ["updated_at", "2019-01-19 07:52:08.179029"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:52:08.180786"], ["updated_at", "2019-01-19 07:52:08.180786"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:52:08.182479"], ["updated_at", "2019-01-19 07:52:08.182479"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptatem magnam voluptatem odit."], ["body", "Fuga ut quos. Esse consequuntur odit. Ab et et."], ["created_at", "2019-01-19 07:52:08.184367"], ["updated_at", "2019-01-19 07:52:08.184367"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:52:08.186591"], ["updated_at", "2019-01-19 07:52:08.186591"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:52:08.188433"], ["updated_at", "2019-01-19 07:52:08.188433"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nemo sapiente saepe pariatur."], ["body", "Nemo quo explicabo. Assumenda ratione harum. Qui alias velit."], ["created_at", "2019-01-19 07:52:08.190261"], ["updated_at", "2019-01-19 07:52:08.190261"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:52:08.191890"], ["updated_at", "2019-01-19 07:52:08.191890"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:52:08.193491"], ["updated_at", "2019-01-19 07:52:08.193491"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Sit eum ducimus eum."], ["body", "Dicta voluptatem et. Dolorem suscipit corrupti. Dolore asperiores ab."], ["created_at", "2019-01-19 07:52:08.195437"], ["updated_at", "2019-01-19 07:52:08.195437"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:52:08.197670"], ["updated_at", "2019-01-19 07:52:08.197670"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:52:08.199466"], ["updated_at", "2019-01-19 07:52:08.199466"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Error voluptates et tempora."], ["body", "Reiciendis laboriosam dolore. Vel impedit aspernatur. Ut nihil et."], ["created_at", "2019-01-19 07:52:08.201335"], ["updated_at", "2019-01-19 07:52:08.201335"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:52:08.203083"], ["updated_at", "2019-01-19 07:52:08.203083"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:52:08.204720"], ["updated_at", "2019-01-19 07:52:08.204720"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Id deserunt corrupti excepturi."], ["body", "Illo aliquid id. Et quidem quod. Voluptatem aliquid inventore."], ["created_at", "2019-01-19 07:52:08.206597"], ["updated_at", "2019-01-19 07:52:08.206597"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.1ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:52:08.208663"], ["updated_at", "2019-01-19 07:52:08.208663"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:52:08.210502"], ["updated_at", "2019-01-19 07:52:08.210502"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Minus velit et distinctio."], ["body", "Qui maiores sed. Nihil voluptates quisquam. Quisquam dolores pariatur."], ["created_at", "2019-01-19 07:52:08.212481"], ["updated_at", "2019-01-19 07:52:08.212481"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:52:08.214358"], ["updated_at", "2019-01-19 07:52:08.214358"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:52:08.215961"], ["updated_at", "2019-01-19 07:52:08.215961"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Earum magnam magni aut."], ["body", "Nesciunt eum quidem. Possimus voluptas vel. Exercitationem magnam facilis."], ["created_at", "2019-01-19 07:52:08.217906"], ["updated_at", "2019-01-19 07:52:08.217906"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:52:08.219980"], ["updated_at", "2019-01-19 07:52:08.219980"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:52:08.221638"], ["updated_at", "2019-01-19 07:52:08.221638"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Deserunt voluptate a fuga."], ["body", "Id aut natus. Occaecati eos autem. Facere neque similique."], ["created_at", "2019-01-19 07:52:08.223396"], ["updated_at", "2019-01-19 07:52:08.223396"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:52:08.225083"], ["updated_at", "2019-01-19 07:52:08.225083"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:52:08.226569"], ["updated_at", "2019-01-19 07:52:08.226569"]] ↳ db/seeds.rb:48  (0.8ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Dignissimos velit occaecati adipisci."], ["body", "Placeat ipsam sit. Nemo vero sapiente. Et et officiis."], ["created_at", "2019-01-19 07:52:08.228595"], ["updated_at", "2019-01-19 07:52:08.228595"]] ↳ db/seeds.rb:50  (0.8ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:52:08.230836"], ["updated_at", "2019-01-19 07:52:08.230836"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:52:08.232466"], ["updated_at", "2019-01-19 07:52:08.232466"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Atque qui nisi quam."], ["body", "Ipsa sapiente voluptatem. Quaerat fugiat beatae. Dicta eveniet nisi."], ["created_at", "2019-01-19 07:52:08.234364"], ["updated_at", "2019-01-19 07:52:08.234364"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:52:08.236341"], ["updated_at", "2019-01-19 07:52:08.236341"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:52:08.238072"], ["updated_at", "2019-01-19 07:52:08.238072"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.1ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Inventore occaecati fugiat maxime."], ["body", "Consequatur eveniet magni. Consequatur a mollitia. Recusandae error iusto."], ["created_at", "2019-01-19 07:52:08.240435"], ["updated_at", "2019-01-19 07:52:08.240435"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:52:08.242286"], ["updated_at", "2019-01-19 07:52:08.242286"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:52:08.243945"], ["updated_at", "2019-01-19 07:52:08.243945"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Officia veniam et dignissimos."], ["body", "Ducimus qui aut. Ut incidunt veniam. Commodi aut rerum."], ["created_at", "2019-01-19 07:52:08.245771"], ["updated_at", "2019-01-19 07:52:08.245771"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:52:08.247400"], ["updated_at", "2019-01-19 07:52:08.247400"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:52:08.249095"], ["updated_at", "2019-01-19 07:52:08.249095"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Quae nihil minima sint."], ["body", "Alias veritatis et. Autem voluptates totam. Quibusdam eligendi dolorem."], ["created_at", "2019-01-19 07:52:08.251369"], ["updated_at", "2019-01-19 07:52:08.251369"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:52:08.253202"], ["updated_at", "2019-01-19 07:52:08.253202"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:52:08.254819"], ["updated_at", "2019-01-19 07:52:08.254819"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63  (0.0ms) rollback transaction ↳ db/seeds.rb:63  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (1.4ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.1ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.0ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.7ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.8ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.8ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.8ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.7ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.8ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.8ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13  (0.0ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14  (0.0ms) commit transaction ↳ bin/rails:14  (0.7ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.5ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.5ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.5ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.5ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.5ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.6ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.6ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.8ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.6ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "development"], ["updated_at", "2019-01-19 07:54:36.422327"], ["key", "environment"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:54:36.424264"], ["key", "environment"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$nFKW3XqDNeZt3Skfni/v8OTOfj7pYBxQG8YyXpXQYP0SYC5aNsxXi"], ["created_at", "2019-01-19 07:54:36.529762"], ["updated_at", "2019-01-19 07:54:36.529762"]] ↳ db/seeds.rb:3  (1.1ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$R9Hr6sHqLa6CmGc1kGVDL.qOO/Bws.5b/eH/.XAGfmKNXInOAdYWG"], ["created_at", "2019-01-19 07:54:36.630457"], ["updated_at", "2019-01-19 07:54:36.630457"]] ↳ db/seeds.rb:4  (1.2ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$Ht78KMl7Q1GXlARKI5zs3eCRDYU/X1Tv9yDosTwUgN5UIPXhtpnkW"], ["created_at", "2019-01-19 07:54:36.721357"], ["updated_at", "2019-01-19 07:54:36.721357"]] ↳ db/seeds.rb:5  (1.2ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$KQFG/Uuzvm5HRJ0frJY9suVk6fW2DJaHgE4g34P3EqNmT6KFfJK/u"], ["created_at", "2019-01-19 07:54:36.812794"], ["updated_at", "2019-01-19 07:54:36.812794"]] ↳ db/seeds.rb:6  (1.7ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$Yx6L6CWCNDUnUa94z.kPF.hkYy9FlOiUYAL26tCAX6y2G6CW/MrfC"], ["created_at", "2019-01-19 07:54:36.912177"], ["updated_at", "2019-01-19 07:54:36.912177"]] ↳ db/seeds.rb:7  (1.3ms) commit transaction ↳ db/seeds.rb:7  (0.1ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$8JHiFIobK2WIPLBuLbnsUuMmUEUbUC.AzXxA22pKWlBH9UrX.P8Lq"], ["created_at", "2019-01-19 07:54:37.012668"], ["updated_at", "2019-01-19 07:54:37.012668"]] ↳ db/seeds.rb:8  (1.2ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$xyyX.eVVYBlK67xWRRUvq.TGEDR2RW4JsOJfS6xxhBG6x3w4/IXAm"], ["created_at", "2019-01-19 07:54:37.102986"], ["updated_at", "2019-01-19 07:54:37.102986"]] ↳ db/seeds.rb:9  (1.1ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 07:54:37.112434"], ["updated_at", "2019-01-19 07:54:37.112434"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 07:54:37.114887"], ["updated_at", "2019-01-19 07:54:37.114887"]] ↳ db/seeds.rb:14  (0.7ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 07:54:37.122244"], ["updated_at", "2019-01-19 07:54:37.122244"]] ↳ db/seeds.rb:18  (0.7ms) commit transaction ↳ db/seeds.rb:18  (0.1ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 07:54:37.124382"], ["updated_at", "2019-01-19 07:54:37.124382"]] ↳ db/seeds.rb:19  (0.6ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Nam expedita excepturi velit."], ["body", "Mollitia tenetur laudantium. Quae nemo suscipit. Dolor ratione eos."], ["created_at", "2019-01-19 07:54:37.574445"], ["updated_at", "2019-01-19 07:54:37.574445"]] ↳ db/seeds.rb:25  (1.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:54:37.586395"], ["updated_at", "2019-01-19 07:54:37.586395"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:54:37.588214"], ["updated_at", "2019-01-19 07:54:37.588214"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Est ut molestiae dicta."], ["body", "Et harum est. Facere vero dolores. Id similique iure."], ["created_at", "2019-01-19 07:54:37.590286"], ["updated_at", "2019-01-19 07:54:37.590286"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:54:37.591982"], ["updated_at", "2019-01-19 07:54:37.591982"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:54:37.593755"], ["updated_at", "2019-01-19 07:54:37.593755"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Dolores vel molestias omnis."], ["body", "Dicta nam quibusdam. Omnis magnam quos. Pariatur aliquid est."], ["created_at", "2019-01-19 07:54:37.595535"], ["updated_at", "2019-01-19 07:54:37.595535"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 07:54:37.597461"], ["updated_at", "2019-01-19 07:54:37.597461"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:54:37.599185"], ["updated_at", "2019-01-19 07:54:37.599185"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Numquam labore quia beatae."], ["body", "Asperiores qui voluptas. Repudiandae sint ipsa. Et consequatur mollitia."], ["created_at", "2019-01-19 07:54:37.601251"], ["updated_at", "2019-01-19 07:54:37.601251"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:54:37.602943"], ["updated_at", "2019-01-19 07:54:37.602943"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:54:37.604572"], ["updated_at", "2019-01-19 07:54:37.604572"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Rerum sapiente eius est."], ["body", "Deleniti architecto et. Alias eos quaerat. Ad in eaque."], ["created_at", "2019-01-19 07:54:37.606466"], ["updated_at", "2019-01-19 07:54:37.606466"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:54:37.608352"], ["updated_at", "2019-01-19 07:54:37.608352"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:54:37.610039"], ["updated_at", "2019-01-19 07:54:37.610039"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Omnis officiis facere veritatis."], ["body", "Accusamus nulla vel. Quo est dolor. Doloremque aut maxime."], ["created_at", "2019-01-19 07:54:37.611994"], ["updated_at", "2019-01-19 07:54:37.611994"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:54:37.613742"], ["updated_at", "2019-01-19 07:54:37.613742"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:54:37.615385"], ["updated_at", "2019-01-19 07:54:37.615385"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Sint quam quia minima."], ["body", "Et dicta eaque. Doloribus et ad. Eaque laborum velit."], ["created_at", "2019-01-19 07:54:37.617129"], ["updated_at", "2019-01-19 07:54:37.617129"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:54:37.619047"], ["updated_at", "2019-01-19 07:54:37.619047"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:54:37.620717"], ["updated_at", "2019-01-19 07:54:37.620717"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Earum repellat facere nulla."], ["body", "Dolores adipisci eum. Facilis deleniti ipsa. Tempore ut et."], ["created_at", "2019-01-19 07:54:37.622611"], ["updated_at", "2019-01-19 07:54:37.622611"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:54:37.624364"], ["updated_at", "2019-01-19 07:54:37.624364"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:54:37.626002"], ["updated_at", "2019-01-19 07:54:37.626002"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Temporibus veniam repudiandae vitae."], ["body", "Molestiae voluptatem omnis. Libero est nam. Dolorem quaerat et."], ["created_at", "2019-01-19 07:54:37.627921"], ["updated_at", "2019-01-19 07:54:37.627921"]] ↳ db/seeds.rb:25  (0.9ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:54:37.630092"], ["updated_at", "2019-01-19 07:54:37.630092"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.1ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:54:37.631893"], ["updated_at", "2019-01-19 07:54:37.631893"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Commodi magni consequatur molestiae."], ["body", "Quae accusantium nemo. Asperiores delectus qui. Autem ut voluptas."], ["created_at", "2019-01-19 07:54:37.634006"], ["updated_at", "2019-01-19 07:54:37.634006"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:54:37.635777"], ["updated_at", "2019-01-19 07:54:37.635777"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:54:37.637413"], ["updated_at", "2019-01-19 07:54:37.637413"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Necessitatibus non est sed."], ["body", "Recusandae maiores et. Suscipit vel blanditiis. Repellendus quod rem."], ["created_at", "2019-01-19 07:54:37.639232"], ["updated_at", "2019-01-19 07:54:37.639232"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:37.641232"], ["updated_at", "2019-01-19 07:54:37.641232"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:37.642873"], ["updated_at", "2019-01-19 07:54:37.642873"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Est nisi fugiat placeat."], ["body", "Libero dolore quidem. Quisquam corporis omnis. Molestiae fugit debitis."], ["created_at", "2019-01-19 07:54:37.644872"], ["updated_at", "2019-01-19 07:54:37.644872"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:37.646670"], ["updated_at", "2019-01-19 07:54:37.646670"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:37.648393"], ["updated_at", "2019-01-19 07:54:37.648393"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Aut ullam consectetur nobis."], ["body", "Et iste eveniet. Occaecati illo ut. Aut aut eaque."], ["created_at", "2019-01-19 07:54:37.650131"], ["updated_at", "2019-01-19 07:54:37.650131"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:54:37.651972"], ["updated_at", "2019-01-19 07:54:37.651972"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:37.653805"], ["updated_at", "2019-01-19 07:54:37.653805"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Molestiae dolor iure accusamus."], ["body", "Et ipsa corporis. Quia fugit voluptatem. Repellat earum et."], ["created_at", "2019-01-19 07:54:37.655652"], ["updated_at", "2019-01-19 07:54:37.655652"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:37.657343"], ["updated_at", "2019-01-19 07:54:37.657343"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:37.659063"], ["updated_at", "2019-01-19 07:54:37.659063"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Et facere hic ut."], ["body", "Minima consectetur soluta. Dolorum laudantium temporibus. Et laudantium est."], ["created_at", "2019-01-19 07:54:37.661006"], ["updated_at", "2019-01-19 07:54:37.661006"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:54:37.662844"], ["updated_at", "2019-01-19 07:54:37.662844"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:54:37.664439"], ["updated_at", "2019-01-19 07:54:37.664439"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Quis doloremque ex vitae."], ["body", "Ducimus atque vel. Architecto provident dolores. Necessitatibus consequatur id."], ["created_at", "2019-01-19 07:54:37.666316"], ["updated_at", "2019-01-19 07:54:37.666316"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:37.668204"], ["updated_at", "2019-01-19 07:54:37.668204"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:37.669973"], ["updated_at", "2019-01-19 07:54:37.669973"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Et praesentium et soluta."], ["body", "Aut ut eligendi. Ex odit expedita. Enim ea eum."], ["created_at", "2019-01-19 07:54:37.672056"], ["updated_at", "2019-01-19 07:54:37.672056"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:37.674025"], ["updated_at", "2019-01-19 07:54:37.674025"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:54:37.675758"], ["updated_at", "2019-01-19 07:54:37.675758"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "At corrupti et accusamus."], ["body", "Ex omnis aliquam. Non architecto rem. Eos et molestias."], ["created_at", "2019-01-19 07:54:37.677720"], ["updated_at", "2019-01-19 07:54:37.677720"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:37.679408"], ["updated_at", "2019-01-19 07:54:37.679408"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:54:37.681188"], ["updated_at", "2019-01-19 07:54:37.681188"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Iure rerum itaque dicta."], ["body", "Voluptatem sapiente repellat. Aut aperiam ullam. Animi et mollitia."], ["created_at", "2019-01-19 07:54:37.683098"], ["updated_at", "2019-01-19 07:54:37.683098"]] ↳ db/seeds.rb:37  (1.2ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:37.685862"], ["updated_at", "2019-01-19 07:54:37.685862"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:37.687686"], ["updated_at", "2019-01-19 07:54:37.687686"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Velit corrupti qui veniam."], ["body", "Et pariatur tempore. Nemo eveniet sed. Et facere quaerat."], ["created_at", "2019-01-19 07:54:37.689620"], ["updated_at", "2019-01-19 07:54:37.689620"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:37.691406"], ["updated_at", "2019-01-19 07:54:37.691406"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:37.693173"], ["updated_at", "2019-01-19 07:54:37.693173"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Omnis excepturi iste perferendis."], ["body", "Quisquam sint cupiditate. Assumenda est suscipit. Eos voluptate dolores."], ["created_at", "2019-01-19 07:54:37.695586"], ["updated_at", "2019-01-19 07:54:37.695586"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:37.697427"], ["updated_at", "2019-01-19 07:54:37.697427"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:37.699233"], ["updated_at", "2019-01-19 07:54:37.699233"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Ea maiores sit quia."], ["body", "Eum provident deleniti. Id pariatur et. Quibusdam minus ipsa."], ["created_at", "2019-01-19 07:54:37.701198"], ["updated_at", "2019-01-19 07:54:37.701198"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:37.703021"], ["updated_at", "2019-01-19 07:54:37.703021"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:37.704835"], ["updated_at", "2019-01-19 07:54:37.704835"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Nostrum corporis quis cupiditate."], ["body", "Est voluptatibus assumenda. Corporis sit quo. Repellendus praesentium vel."], ["created_at", "2019-01-19 07:54:37.706983"], ["updated_at", "2019-01-19 07:54:37.706983"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:54:37.709080"], ["updated_at", "2019-01-19 07:54:37.709080"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:37.710806"], ["updated_at", "2019-01-19 07:54:37.710806"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Incidunt cum culpa nesciunt."], ["body", "Tenetur iusto autem. Minima ipsa qui. Necessitatibus nostrum quia."], ["created_at", "2019-01-19 07:54:37.712784"], ["updated_at", "2019-01-19 07:54:37.712784"]] ↳ db/seeds.rb:50  (0.8ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:37.714783"], ["updated_at", "2019-01-19 07:54:37.714783"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:54:37.716542"], ["updated_at", "2019-01-19 07:54:37.716542"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Iusto maiores dolorum quod."], ["body", "Magni ut eos. Rem rerum nulla. Animi et ut."], ["created_at", "2019-01-19 07:54:37.718471"], ["updated_at", "2019-01-19 07:54:37.718471"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:37.720342"], ["updated_at", "2019-01-19 07:54:37.720342"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:37.722061"], ["updated_at", "2019-01-19 07:54:37.722061"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Suscipit placeat optio possimus."], ["body", "Commodi sed hic. Illo maxime qui. Reiciendis doloribus veritatis."], ["created_at", "2019-01-19 07:54:37.723909"], ["updated_at", "2019-01-19 07:54:37.723909"]] ↳ db/seeds.rb:50  (0.8ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:37.725923"], ["updated_at", "2019-01-19 07:54:37.725923"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:37.727690"], ["updated_at", "2019-01-19 07:54:37.727690"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Autem rem incidunt qui."], ["body", "Dolor quasi quo. Officia at impedit. Consequatur accusamus sed."], ["created_at", "2019-01-19 07:54:37.729710"], ["updated_at", "2019-01-19 07:54:37.729710"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:37.731473"], ["updated_at", "2019-01-19 07:54:37.731473"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:37.733134"], ["updated_at", "2019-01-19 07:54:37.733134"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Qui excepturi distinctio voluptatem."], ["body", "Aspernatur neque maiores. Exercitationem sunt corrupti. Illum nesciunt voluptatibus."], ["created_at", "2019-01-19 07:54:37.735093"], ["updated_at", "2019-01-19 07:54:37.735093"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:37.736938"], ["updated_at", "2019-01-19 07:54:37.736938"]] ↳ db/seeds.rb:52  (0.8ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:37.739267"], ["updated_at", "2019-01-19 07:54:37.739267"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Cum qui illum explicabo."], ["body", "Qui est nihil. Sint sunt adipisci. Fugit asperiores et."], ["created_at", "2019-01-19 07:54:37.741384"], ["updated_at", "2019-01-19 07:54:37.741384"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:54:37.743253"], ["updated_at", "2019-01-19 07:54:37.743253"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:37.745002"], ["updated_at", "2019-01-19 07:54:37.745002"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Ut autem dolor quae."], ["body", "Nihil vel veniam. Qui ex dolor. Blanditiis velit facere."], ["created_at", "2019-01-19 07:54:37.746777"], ["updated_at", "2019-01-19 07:54:37.746777"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:37.748820"], ["updated_at", "2019-01-19 07:54:37.748820"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:37.750692"], ["updated_at", "2019-01-19 07:54:37.750692"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:64  (0.0ms) rollback transaction ↳ db/seeds.rb:64  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.2ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.9ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.9ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.8ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.2ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 07:54:55.349450"], ["updated_at", "2019-01-19 07:54:55.349450"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14  (0.0ms) commit transaction ↳ bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.1ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.9ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 07:54:55.379418"], ["updated_at", "2019-01-19 07:54:55.379418"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:54:55.381554"], ["key", "environment"]] ↳ bin/rails:14  (0.4ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$8DN/DL3zNbU8.3tO0R/jjenoq04S4jPfXHzKP2ll.NqZAhdKsrInK"], ["created_at", "2019-01-19 07:54:55.486882"], ["updated_at", "2019-01-19 07:54:55.486882"]] ↳ db/seeds.rb:3  (1.5ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$VhVV95ofaA9O9DnVi4LBU.M4Xxt771l7MHgvgTF0MdnCNi61PAPuK"], ["created_at", "2019-01-19 07:54:55.578891"], ["updated_at", "2019-01-19 07:54:55.578891"]] ↳ db/seeds.rb:4  (1.2ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$PK9We2bGQUeYJuY98JIiSeBV/A7kuiW6cA./UslkB768H6JO6CEi2"], ["created_at", "2019-01-19 07:54:55.677906"], ["updated_at", "2019-01-19 07:54:55.677906"]] ↳ db/seeds.rb:5  (1.0ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$O5JYB6i5xO9vpFkgiRWPOOU1SSGld4Zk5sRayUxeflb3TJGIhS.PS"], ["created_at", "2019-01-19 07:54:55.768886"], ["updated_at", "2019-01-19 07:54:55.768886"]] ↳ db/seeds.rb:6  (1.0ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$WkhDj6E2EQmKCjzJm6xkbu3bzTWcS7u65S7P4mEkkAqKQQZecwqM6"], ["created_at", "2019-01-19 07:54:55.857861"], ["updated_at", "2019-01-19 07:54:55.857861"]] ↳ db/seeds.rb:7  (1.7ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$Vf8xKnNMi8S6LFqFFnwgkOLR8i0.PtRPnG4XOBXpZZs68W7TzsIwW"], ["created_at", "2019-01-19 07:54:55.950015"], ["updated_at", "2019-01-19 07:54:55.950015"]] ↳ db/seeds.rb:8  (1.6ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$bFtLsHHH7Jv.WD3cyUzpNu0DguSbonMGSS3VaWR5amGVb2mJhnIm."], ["created_at", "2019-01-19 07:54:56.049175"], ["updated_at", "2019-01-19 07:54:56.049175"]] ↳ db/seeds.rb:9  (1.3ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 07:54:56.058132"], ["updated_at", "2019-01-19 07:54:56.058132"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 07:54:56.060587"], ["updated_at", "2019-01-19 07:54:56.060587"]] ↳ db/seeds.rb:14  (0.6ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 07:54:56.067477"], ["updated_at", "2019-01-19 07:54:56.067477"]] ↳ db/seeds.rb:18  (0.9ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 07:54:56.069754"], ["updated_at", "2019-01-19 07:54:56.069754"]] ↳ db/seeds.rb:19  (0.9ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Quo accusamus et dolores."], ["body", "Quasi neque facilis. Odio est debitis. Quia nihil nihil."], ["created_at", "2019-01-19 07:54:56.515522"], ["updated_at", "2019-01-19 07:54:56.515522"]] ↳ db/seeds.rb:25  (1.3ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:54:56.526543"], ["updated_at", "2019-01-19 07:54:56.526543"]] ↳ db/seeds.rb:27  (0.8ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:54:56.528824"], ["updated_at", "2019-01-19 07:54:56.528824"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Velit maxime nihil quae."], ["body", "Provident voluptas harum. Perferendis eos et. Sunt necessitatibus et."], ["created_at", "2019-01-19 07:54:56.530958"], ["updated_at", "2019-01-19 07:54:56.530958"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:54:56.532912"], ["updated_at", "2019-01-19 07:54:56.532912"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:54:56.534577"], ["updated_at", "2019-01-19 07:54:56.534577"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Id maxime temporibus nihil."], ["body", "Porro voluptas architecto. Et quia dolores. Enim eos id."], ["created_at", "2019-01-19 07:54:56.536496"], ["updated_at", "2019-01-19 07:54:56.536496"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:54:56.538723"], ["updated_at", "2019-01-19 07:54:56.538723"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:54:56.540577"], ["updated_at", "2019-01-19 07:54:56.540577"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Ut dolor eum vitae."], ["body", "Autem velit rerum. Adipisci ut et. Animi inventore adipisci."], ["created_at", "2019-01-19 07:54:56.542610"], ["updated_at", "2019-01-19 07:54:56.542610"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:54:56.544501"], ["updated_at", "2019-01-19 07:54:56.544501"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:54:56.546152"], ["updated_at", "2019-01-19 07:54:56.546152"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Sint porro magni voluptas."], ["body", "Saepe recusandae eius. Vel tempore repellat. Tenetur aut sapiente."], ["created_at", "2019-01-19 07:54:56.548225"], ["updated_at", "2019-01-19 07:54:56.548225"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:54:56.550324"], ["updated_at", "2019-01-19 07:54:56.550324"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:54:56.551975"], ["updated_at", "2019-01-19 07:54:56.551975"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Delectus cupiditate hic tempora."], ["body", "Ut pariatur et. Optio dolores ipsam. Ut quia eaque."], ["created_at", "2019-01-19 07:54:56.554096"], ["updated_at", "2019-01-19 07:54:56.554096"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:54:56.555783"], ["updated_at", "2019-01-19 07:54:56.555783"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:54:56.557491"], ["updated_at", "2019-01-19 07:54:56.557491"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Quaerat itaque cupiditate voluptas."], ["body", "Nostrum necessitatibus et. Perferendis sed quae. Ab fuga dicta."], ["created_at", "2019-01-19 07:54:56.559616"], ["updated_at", "2019-01-19 07:54:56.559616"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:54:56.561552"], ["updated_at", "2019-01-19 07:54:56.561552"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:54:56.563166"], ["updated_at", "2019-01-19 07:54:56.563166"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Rerum tempore fuga ut."], ["body", "Eligendi est est. Nihil tempore ratione. Esse explicabo dolorem."], ["created_at", "2019-01-19 07:54:56.565343"], ["updated_at", "2019-01-19 07:54:56.565343"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:54:56.567358"], ["updated_at", "2019-01-19 07:54:56.567358"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:54:56.569434"], ["updated_at", "2019-01-19 07:54:56.569434"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Officia quo at voluptatem."], ["body", "Iusto nostrum pariatur. Occaecati rem fugiat. Minus reiciendis quam."], ["created_at", "2019-01-19 07:54:56.571300"], ["updated_at", "2019-01-19 07:54:56.571300"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:54:56.573114"], ["updated_at", "2019-01-19 07:54:56.573114"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:54:56.574734"], ["updated_at", "2019-01-19 07:54:56.574734"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.1ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptatem vel impedit esse."], ["body", "Debitis autem omnis. Nostrum harum esse. Eos nostrum facere."], ["created_at", "2019-01-19 07:54:56.576924"], ["updated_at", "2019-01-19 07:54:56.576924"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:54:56.578718"], ["updated_at", "2019-01-19 07:54:56.578718"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:54:56.580614"], ["updated_at", "2019-01-19 07:54:56.580614"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Quia labore iure doloremque."], ["body", "Ipsam necessitatibus facere. Maxime voluptatum occaecati. Doloribus corrupti magnam."], ["created_at", "2019-01-19 07:54:56.582614"], ["updated_at", "2019-01-19 07:54:56.582614"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.1ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:56.584660"], ["updated_at", "2019-01-19 07:54:56.584660"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:56.586427"], ["updated_at", "2019-01-19 07:54:56.586427"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Dolorem est est quia."], ["body", "Porro cumque earum. Omnis eos recusandae. Quidem qui laudantium."], ["created_at", "2019-01-19 07:54:56.588351"], ["updated_at", "2019-01-19 07:54:56.588351"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:56.590098"], ["updated_at", "2019-01-19 07:54:56.590098"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:56.591808"], ["updated_at", "2019-01-19 07:54:56.591808"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Fuga voluptas assumenda est."], ["body", "Qui neque repellat. Eius nulla rerum. Necessitatibus aliquam odio."], ["created_at", "2019-01-19 07:54:56.593861"], ["updated_at", "2019-01-19 07:54:56.593861"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:56.595774"], ["updated_at", "2019-01-19 07:54:56.595774"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:56.597393"], ["updated_at", "2019-01-19 07:54:56.597393"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Nesciunt dolorem excepturi et."], ["body", "Molestias aspernatur quia. Molestiae commodi porro. Deleniti harum quis."], ["created_at", "2019-01-19 07:54:56.599184"], ["updated_at", "2019-01-19 07:54:56.599184"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:56.600899"], ["updated_at", "2019-01-19 07:54:56.600899"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:54:56.602707"], ["updated_at", "2019-01-19 07:54:56.602707"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nobis recusandae animi quidem."], ["body", "Corporis laborum labore. Vel sit iure. Aut eos natus."], ["created_at", "2019-01-19 07:54:56.604701"], ["updated_at", "2019-01-19 07:54:56.604701"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:54:56.606478"], ["updated_at", "2019-01-19 07:54:56.606478"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:56.608043"], ["updated_at", "2019-01-19 07:54:56.608043"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptates minima excepturi unde."], ["body", "Sint fuga eveniet. Et dolorum ad. Corporis fugiat velit."], ["created_at", "2019-01-19 07:54:56.609931"], ["updated_at", "2019-01-19 07:54:56.609931"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:56.611752"], ["updated_at", "2019-01-19 07:54:56.611752"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:56.613430"], ["updated_at", "2019-01-19 07:54:56.613430"]] ↳ db/seeds.rb:43  (0.8ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Itaque nisi ut consequatur."], ["body", "Natus ea quia. Tempore similique provident. Quos quis sed."], ["created_at", "2019-01-19 07:54:56.615599"], ["updated_at", "2019-01-19 07:54:56.615599"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:56.617322"], ["updated_at", "2019-01-19 07:54:56.617322"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:54:56.619017"], ["updated_at", "2019-01-19 07:54:56.619017"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Quibusdam autem aut et."], ["body", "Deleniti alias nihil. Eum rerum error. Nobis qui adipisci."], ["created_at", "2019-01-19 07:54:56.621066"], ["updated_at", "2019-01-19 07:54:56.621066"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:54:56.622831"], ["updated_at", "2019-01-19 07:54:56.622831"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:56.624844"], ["updated_at", "2019-01-19 07:54:56.624844"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nesciunt voluptas laboriosam nihil."], ["body", "Laudantium molestiae molestias. Tenetur perferendis labore. Eum nesciunt sint."], ["created_at", "2019-01-19 07:54:56.626981"], ["updated_at", "2019-01-19 07:54:56.626981"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:56.628769"], ["updated_at", "2019-01-19 07:54:56.628769"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:56.630610"], ["updated_at", "2019-01-19 07:54:56.630610"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Qui eveniet ipsum officia."], ["body", "Incidunt mollitia doloremque. Dolores enim rerum. Vero tenetur totam."], ["created_at", "2019-01-19 07:54:56.632928"], ["updated_at", "2019-01-19 07:54:56.632928"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:56.634906"], ["updated_at", "2019-01-19 07:54:56.634906"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:56.636650"], ["updated_at", "2019-01-19 07:54:56.636650"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Adipisci beatae veritatis doloremque."], ["body", "Et accusantium eos. Et beatae et. Quia enim molestiae."], ["created_at", "2019-01-19 07:54:56.638710"], ["updated_at", "2019-01-19 07:54:56.638710"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:54:56.640760"], ["updated_at", "2019-01-19 07:54:56.640760"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:56.642669"], ["updated_at", "2019-01-19 07:54:56.642669"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Et accusantium aspernatur omnis."], ["body", "Excepturi dolores sapiente. Ea qui natus. Natus harum cumque."], ["created_at", "2019-01-19 07:54:56.644795"], ["updated_at", "2019-01-19 07:54:56.644795"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:56.646620"], ["updated_at", "2019-01-19 07:54:56.646620"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:56.648325"], ["updated_at", "2019-01-19 07:54:56.648325"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Ipsa rerum ut quisquam."], ["body", "Ipsa at neque. Laborum et ipsum. Quis id totam."], ["created_at", "2019-01-19 07:54:56.650303"], ["updated_at", "2019-01-19 07:54:56.650303"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:54:56.652276"], ["updated_at", "2019-01-19 07:54:56.652276"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:54:56.654004"], ["updated_at", "2019-01-19 07:54:56.654004"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Veritatis omnis nam sint."], ["body", "Sit quae ducimus. Omnis alias omnis. Autem saepe voluptatibus."], ["created_at", "2019-01-19 07:54:56.655900"], ["updated_at", "2019-01-19 07:54:56.655900"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:56.657903"], ["updated_at", "2019-01-19 07:54:56.657903"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:54:56.659612"], ["updated_at", "2019-01-19 07:54:56.659612"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Consequuntur impedit excepturi consequatur."], ["body", "Recusandae id officia. Labore ut sunt. Velit iure sapiente."], ["created_at", "2019-01-19 07:54:56.661537"], ["updated_at", "2019-01-19 07:54:56.661537"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:54:56.663375"], ["updated_at", "2019-01-19 07:54:56.663375"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:54:56.665055"], ["updated_at", "2019-01-19 07:54:56.665055"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Perspiciatis delectus deleniti corrupti."], ["body", "Nesciunt ipsum et. Earum cupiditate voluptatibus. Perspiciatis asperiores nisi."], ["created_at", "2019-01-19 07:54:56.667441"], ["updated_at", "2019-01-19 07:54:56.667441"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:56.669407"], ["updated_at", "2019-01-19 07:54:56.669407"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:56.671172"], ["updated_at", "2019-01-19 07:54:56.671172"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Et totam neque id."], ["body", "Quo quo saepe. Velit similique sed. Dolores sapiente voluptatibus."], ["created_at", "2019-01-19 07:54:56.673237"], ["updated_at", "2019-01-19 07:54:56.673237"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:54:56.674995"], ["updated_at", "2019-01-19 07:54:56.674995"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:54:56.676661"], ["updated_at", "2019-01-19 07:54:56.676661"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Quia quis nulla earum."], ["body", "Maxime iusto ut. Aut asperiores quis. Dolorem excepturi hic."], ["created_at", "2019-01-19 07:54:56.678838"], ["updated_at", "2019-01-19 07:54:56.678838"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:54:56.680880"], ["updated_at", "2019-01-19 07:54:56.680880"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:54:56.682553"], ["updated_at", "2019-01-19 07:54:56.682553"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Quis voluptatem quidem totam."], ["body", "Ad vel id. Quidem sit et. Sint quia nam."], ["created_at", "2019-01-19 07:54:56.684450"], ["updated_at", "2019-01-19 07:54:56.684450"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:54:56.686388"], ["updated_at", "2019-01-19 07:54:56.686388"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:54:56.688360"], ["updated_at", "2019-01-19 07:54:56.688360"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Facilis culpa aliquam nisi."], ["body", "Ut consequatur magnam. Similique repudiandae excepturi. Quod sit et."], ["created_at", "2019-01-19 07:54:56.690445"], ["updated_at", "2019-01-19 07:54:56.690445"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:54:56.692313"], ["updated_at", "2019-01-19 07:54:56.692313"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:54:56.693912"], ["updated_at", "2019-01-19 07:54:56.693912"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.4ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.2ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.8ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 07:57:02.662329"], ["updated_at", "2019-01-19 07:57:02.662329"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4  (0.0ms) commit transaction ↳ bin/rails:4  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.7ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.5ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.8ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.5ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.5ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.5ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 07:57:02.689794"], ["updated_at", "2019-01-19 07:57:02.689794"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 07:57:02.691662"], ["key", "environment"]] ↳ bin/rails:4  (0.5ms) commit transaction ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$73/17rvlzRUwx/Gx4AHaA.Ja5ETHYGeLylMeyozeqUSbMqM/t1mMy"], ["created_at", "2019-01-19 07:57:02.802631"], ["updated_at", "2019-01-19 07:57:02.802631"]] ↳ db/seeds.rb:3  (1.3ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$UZFrfQnNqdmZZhjnlD8lQ.4TRvDjcafiwK2dkH1s7nP3u2qvLq.Am"], ["created_at", "2019-01-19 07:57:02.894917"], ["updated_at", "2019-01-19 07:57:02.894917"]] ↳ db/seeds.rb:4  (1.7ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$gBgm350T5YTQJhHtAFhyduLeJfSgsFTJxlu2fFcK.uEdxFGSTvabq"], ["created_at", "2019-01-19 07:57:02.995037"], ["updated_at", "2019-01-19 07:57:02.995037"]] ↳ db/seeds.rb:5  (1.3ms) commit transaction ↳ db/seeds.rb:5  (0.1ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$wIGb9W.e/sKF1.2gafbih.Z5ZHG8aKc0cZR1R1.1cs1lXhv1dp5H6"], ["created_at", "2019-01-19 07:57:03.086138"], ["updated_at", "2019-01-19 07:57:03.086138"]] ↳ db/seeds.rb:6  (1.2ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$fYONQwShXL/3s5SjSqFL7ucoO2RAf5XJ7YnvRVAamQzR7jPyYALze"], ["created_at", "2019-01-19 07:57:03.177463"], ["updated_at", "2019-01-19 07:57:03.177463"]] ↳ db/seeds.rb:7  (1.3ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$C9y9m8IcxoQhZ4ihGK8QMObVp3RF.5LHb1XOoKJXsQBDU/P19qzDe"], ["created_at", "2019-01-19 07:57:03.271507"], ["updated_at", "2019-01-19 07:57:03.271507"]] ↳ db/seeds.rb:8  (1.3ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$iJCknyn2r/nchIJJO4ZdCOVMRKDiuzomU.rz5q0Fnk80fLggcgXjS"], ["created_at", "2019-01-19 07:57:03.362499"], ["updated_at", "2019-01-19 07:57:03.362499"]] ↳ db/seeds.rb:9  (1.2ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 07:57:03.371964"], ["updated_at", "2019-01-19 07:57:03.371964"]] ↳ db/seeds.rb:13  (0.6ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 07:57:03.374367"], ["updated_at", "2019-01-19 07:57:03.374367"]] ↳ db/seeds.rb:14  (0.6ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 07:57:03.381352"], ["updated_at", "2019-01-19 07:57:03.381352"]] ↳ db/seeds.rb:18  (1.1ms) commit transaction ↳ db/seeds.rb:18  (0.1ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 07:57:03.384823"], ["updated_at", "2019-01-19 07:57:03.384823"]] ↳ db/seeds.rb:19  (0.6ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Velit dolores eligendi et."], ["body", "Perferendis sint adipisci. Amet nisi laudantium. Vel sunt et."], ["created_at", "2019-01-19 07:57:03.826712"], ["updated_at", "2019-01-19 07:57:03.826712"]] ↳ db/seeds.rb:25  (1.2ms) commit transaction ↳ db/seeds.rb:25  (0.1ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:57:03.838076"], ["updated_at", "2019-01-19 07:57:03.838076"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:57:03.840294"], ["updated_at", "2019-01-19 07:57:03.840294"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Odit harum commodi natus."], ["body", "Sed blanditiis rerum. Minima aperiam perferendis. Laudantium praesentium accusantium."], ["created_at", "2019-01-19 07:57:03.842359"], ["updated_at", "2019-01-19 07:57:03.842359"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:57:03.844198"], ["updated_at", "2019-01-19 07:57:03.844198"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:57:03.845855"], ["updated_at", "2019-01-19 07:57:03.845855"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Nobis aut impedit voluptas."], ["body", "Quia temporibus quos. Aspernatur odio necessitatibus. Est voluptate in."], ["created_at", "2019-01-19 07:57:03.847715"], ["updated_at", "2019-01-19 07:57:03.847715"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:57:03.849601"], ["updated_at", "2019-01-19 07:57:03.849601"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 07:57:03.851264"], ["updated_at", "2019-01-19 07:57:03.851264"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quis vero earum exercitationem."], ["body", "Assumenda nihil soluta. Commodi et sint. Inventore veritatis beatae."], ["created_at", "2019-01-19 07:57:03.853158"], ["updated_at", "2019-01-19 07:57:03.853158"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 07:57:03.854926"], ["updated_at", "2019-01-19 07:57:03.854926"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 07:57:03.856426"], ["updated_at", "2019-01-19 07:57:03.856426"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Corrupti iste adipisci exercitationem."], ["body", "Eum qui rem. Suscipit velit aperiam. Doloremque voluptatem aut."], ["created_at", "2019-01-19 07:57:03.858409"], ["updated_at", "2019-01-19 07:57:03.858409"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:57:03.860172"], ["updated_at", "2019-01-19 07:57:03.860172"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:57:03.861868"], ["updated_at", "2019-01-19 07:57:03.861868"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Ipsa atque qui mollitia."], ["body", "Repellat libero facere. Perspiciatis voluptate esse. Iure non nam."], ["created_at", "2019-01-19 07:57:03.863767"], ["updated_at", "2019-01-19 07:57:03.863767"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 07:57:03.865583"], ["updated_at", "2019-01-19 07:57:03.865583"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:57:03.867273"], ["updated_at", "2019-01-19 07:57:03.867273"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Est et consequatur modi."], ["body", "Vitae rerum quisquam. Magnam voluptates voluptatum. Molestias nesciunt et."], ["created_at", "2019-01-19 07:57:03.869348"], ["updated_at", "2019-01-19 07:57:03.869348"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 07:57:03.871113"], ["updated_at", "2019-01-19 07:57:03.871113"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 07:57:03.872739"], ["updated_at", "2019-01-19 07:57:03.872739"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Assumenda dignissimos sit maiores."], ["body", "Et odit quos. Consectetur sit voluptas. Aut libero sequi."], ["created_at", "2019-01-19 07:57:03.874562"], ["updated_at", "2019-01-19 07:57:03.874562"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:57:03.876432"], ["updated_at", "2019-01-19 07:57:03.876432"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:57:03.878101"], ["updated_at", "2019-01-19 07:57:03.878101"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Molestiae recusandae ut minima."], ["body", "Sunt nemo quidem. Cumque ut sed. Sequi fugit ut."], ["created_at", "2019-01-19 07:57:03.880193"], ["updated_at", "2019-01-19 07:57:03.880193"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 07:57:03.882036"], ["updated_at", "2019-01-19 07:57:03.882036"]] ↳ db/seeds.rb:27  (0.4ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 07:57:03.883743"], ["updated_at", "2019-01-19 07:57:03.883743"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Ut non accusantium laboriosam."], ["body", "Quia reprehenderit harum. Omnis ex quidem. Deleniti et est."], ["created_at", "2019-01-19 07:57:03.885716"], ["updated_at", "2019-01-19 07:57:03.885716"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 07:57:03.887469"], ["updated_at", "2019-01-19 07:57:03.887469"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 07:57:03.889268"], ["updated_at", "2019-01-19 07:57:03.889268"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ut quidem tenetur provident."], ["body", "Temporibus qui odio. Consequatur quod repellat. Exercitationem natus ipsa."], ["created_at", "2019-01-19 07:57:03.891648"], ["updated_at", "2019-01-19 07:57:03.891648"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:57:03.893443"], ["updated_at", "2019-01-19 07:57:03.893443"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:57:03.895105"], ["updated_at", "2019-01-19 07:57:03.895105"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Modi ad aut voluptas."], ["body", "Aut ut facilis. Cum libero voluptas. Quia sunt nam."], ["created_at", "2019-01-19 07:57:03.896978"], ["updated_at", "2019-01-19 07:57:03.896978"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.898750"], ["updated_at", "2019-01-19 07:57:03.898750"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.900308"], ["updated_at", "2019-01-19 07:57:03.900308"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Est omnis aut quod."], ["body", "Id nobis labore. Occaecati ducimus nesciunt. Quod illum ut."], ["created_at", "2019-01-19 07:57:03.902120"], ["updated_at", "2019-01-19 07:57:03.902120"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:57:03.903939"], ["updated_at", "2019-01-19 07:57:03.903939"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:57:03.905573"], ["updated_at", "2019-01-19 07:57:03.905573"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Ipsa non blanditiis laborum."], ["body", "Consequuntur autem quidem. Esse veritatis numquam. Distinctio pariatur sit."], ["created_at", "2019-01-19 07:57:03.907427"], ["updated_at", "2019-01-19 07:57:03.907427"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:57:03.909144"], ["updated_at", "2019-01-19 07:57:03.909144"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.910721"], ["updated_at", "2019-01-19 07:57:03.910721"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ab tempore harum sed."], ["body", "Ut at dignissimos. Repellendus dicta sed. Architecto natus expedita."], ["created_at", "2019-01-19 07:57:03.912785"], ["updated_at", "2019-01-19 07:57:03.912785"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:57:03.914545"], ["updated_at", "2019-01-19 07:57:03.914545"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 07:57:03.916157"], ["updated_at", "2019-01-19 07:57:03.916157"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Animi autem mollitia voluptatibus."], ["body", "Omnis cum placeat. Maiores eum ut. Quia nam et."], ["created_at", "2019-01-19 07:57:03.917991"], ["updated_at", "2019-01-19 07:57:03.917991"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:57:03.919734"], ["updated_at", "2019-01-19 07:57:03.919734"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 07:57:03.921622"], ["updated_at", "2019-01-19 07:57:03.921622"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Sint cum quidem iste."], ["body", "Qui non dolor. Eos et voluptatem. Porro enim laudantium."], ["created_at", "2019-01-19 07:57:03.923634"], ["updated_at", "2019-01-19 07:57:03.923634"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:57:03.925315"], ["updated_at", "2019-01-19 07:57:03.925315"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:57:03.926828"], ["updated_at", "2019-01-19 07:57:03.926828"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Animi qui dolores ullam."], ["body", "Id qui nostrum. Magnam eum tenetur. Veritatis libero ut."], ["created_at", "2019-01-19 07:57:03.928644"], ["updated_at", "2019-01-19 07:57:03.928644"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:57:03.930309"], ["updated_at", "2019-01-19 07:57:03.930309"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 07:57:03.931722"], ["updated_at", "2019-01-19 07:57:03.931722"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.1ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Est sint porro iusto."], ["body", "Aut id sunt. Quibusdam asperiores culpa. Laboriosam rem dolor."], ["created_at", "2019-01-19 07:57:03.934113"], ["updated_at", "2019-01-19 07:57:03.934113"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:57:03.935916"], ["updated_at", "2019-01-19 07:57:03.935916"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:57:03.937486"], ["updated_at", "2019-01-19 07:57:03.937486"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Consequatur ex odit praesentium."], ["body", "Sint inventore labore. Est eos corrupti. Rem aut esse."], ["created_at", "2019-01-19 07:57:03.939389"], ["updated_at", "2019-01-19 07:57:03.939389"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.941045"], ["updated_at", "2019-01-19 07:57:03.941045"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:57:03.942919"], ["updated_at", "2019-01-19 07:57:03.942919"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.1ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Ducimus vel consequuntur sint."], ["body", "Et iusto nihil. Labore molestiae corporis. Facere quo nesciunt."], ["created_at", "2019-01-19 07:57:03.945245"], ["updated_at", "2019-01-19 07:57:03.945245"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:57:03.947041"], ["updated_at", "2019-01-19 07:57:03.947041"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:57:03.948618"], ["updated_at", "2019-01-19 07:57:03.948618"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Possimus debitis nulla quidem."], ["body", "Facere porro distinctio. Nihil omnis itaque. Laborum architecto dignissimos."], ["created_at", "2019-01-19 07:57:03.950486"], ["updated_at", "2019-01-19 07:57:03.950486"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:57:03.952165"], ["updated_at", "2019-01-19 07:57:03.952165"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:57:03.953803"], ["updated_at", "2019-01-19 07:57:03.953803"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Quo earum autem enim."], ["body", "Tempore quis repellat. Id nisi non. Cupiditate repellendus facilis."], ["created_at", "2019-01-19 07:57:03.955895"], ["updated_at", "2019-01-19 07:57:03.955895"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:57:03.957823"], ["updated_at", "2019-01-19 07:57:03.957823"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 07:57:03.959419"], ["updated_at", "2019-01-19 07:57:03.959419"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Autem quia qui est."], ["body", "Laborum maxime suscipit. Nobis ducimus est. Incidunt optio nobis."], ["created_at", "2019-01-19 07:57:03.961551"], ["updated_at", "2019-01-19 07:57:03.961551"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.963663"], ["updated_at", "2019-01-19 07:57:03.963663"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:57:03.965273"], ["updated_at", "2019-01-19 07:57:03.965273"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Debitis neque qui atque."], ["body", "Voluptatem omnis repellendus. Modi laborum voluptatem. In hic incidunt."], ["created_at", "2019-01-19 07:57:03.967273"], ["updated_at", "2019-01-19 07:57:03.967273"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:57:03.969204"], ["updated_at", "2019-01-19 07:57:03.969204"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:57:03.970946"], ["updated_at", "2019-01-19 07:57:03.970946"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Voluptatem aut omnis illum."], ["body", "Ea consequatur ut. Et deleniti occaecati. Modi voluptates sequi."], ["created_at", "2019-01-19 07:57:03.973008"], ["updated_at", "2019-01-19 07:57:03.973008"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 07:57:03.974766"], ["updated_at", "2019-01-19 07:57:03.974766"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.976421"], ["updated_at", "2019-01-19 07:57:03.976421"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Qui natus sequi consequuntur."], ["body", "Asperiores voluptas et. Ut in at. Saepe consectetur beatae."], ["created_at", "2019-01-19 07:57:03.978488"], ["updated_at", "2019-01-19 07:57:03.978488"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:57:03.980455"], ["updated_at", "2019-01-19 07:57:03.980455"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 07:57:03.982124"], ["updated_at", "2019-01-19 07:57:03.982124"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Quisquam quia incidunt omnis."], ["body", "Voluptatum quo perspiciatis. Nesciunt quaerat deleniti. Vel eaque voluptate."], ["created_at", "2019-01-19 07:57:03.984038"], ["updated_at", "2019-01-19 07:57:03.984038"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:57:03.985800"], ["updated_at", "2019-01-19 07:57:03.985800"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.987435"], ["updated_at", "2019-01-19 07:57:03.987435"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Blanditiis est qui suscipit."], ["body", "Placeat odio qui. Illum quia eos. Quibusdam quae voluptas."], ["created_at", "2019-01-19 07:57:03.989754"], ["updated_at", "2019-01-19 07:57:03.989754"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 07:57:03.991571"], ["updated_at", "2019-01-19 07:57:03.991571"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 07:57:03.993057"], ["updated_at", "2019-01-19 07:57:03.993057"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Saepe et et deserunt."], ["body", "Aut et suscipit. Recusandae libero commodi. Mollitia quo cumque."], ["created_at", "2019-01-19 07:57:03.994894"], ["updated_at", "2019-01-19 07:57:03.994894"]] ↳ db/seeds.rb:50  (0.4ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 07:57:03.996433"], ["updated_at", "2019-01-19 07:57:03.996433"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 07:57:03.997949"], ["updated_at", "2019-01-19 07:57:03.997949"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.9ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.8ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.8ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.8ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 08:00:09.992875"], ["updated_at", "2019-01-19 08:00:09.992875"]] ↳ db/schema.rb:13  (0.8ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14  (0.0ms) commit transaction ↳ bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:36  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:36  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:43  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:43  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:43  (0.5ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:43  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:53  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:53  (0.5ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:53  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:53  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:66  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:66  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:66  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 08:00:10.022374"], ["updated_at", "2019-01-19 08:00:10.022374"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 08:00:10.024510"], ["key", "environment"]] ↳ bin/rails:14  (0.3ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$ZfQrXDnH3/FPDr.WH672WemLeHipG7T1h032OLU5bkDYjY2nfg2pq"], ["created_at", "2019-01-19 08:00:10.134670"], ["updated_at", "2019-01-19 08:00:10.134670"]] ↳ db/seeds.rb:3  (1.3ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$nB5aE7dda4AYAgUOAbQMeerp.vAh7zcGLDJYN7c2mInDoS9hjtC8y"], ["created_at", "2019-01-19 08:00:10.233183"], ["updated_at", "2019-01-19 08:00:10.233183"]] ↳ db/seeds.rb:4  (1.6ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$/DNxqJcNDHucpZlcbS0PpOGFyI7z5lKN8VlkOzLoQRqq.LJIdbycu"], ["created_at", "2019-01-19 08:00:10.331402"], ["updated_at", "2019-01-19 08:00:10.331402"]] ↳ db/seeds.rb:5  (1.2ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$WCFr6vj2vJFMWdnfCLwIe.ECgcjpEtqVXVhzY66SY8yZDtTN2b8tq"], ["created_at", "2019-01-19 08:00:10.420987"], ["updated_at", "2019-01-19 08:00:10.420987"]] ↳ db/seeds.rb:6  (1.1ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$.ANifFQzvkFJ3MzE24XAteXnU3wYRtC/y6/OzbHllBV996SQ/bXpW"], ["created_at", "2019-01-19 08:00:10.511922"], ["updated_at", "2019-01-19 08:00:10.511922"]] ↳ db/seeds.rb:7  (1.2ms) commit transaction ↳ db/seeds.rb:7  (0.1ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$a3GbYwp45KUwNvzbJUOLkOThVIurVaCL6u0cnG2JN.bvDKpynpo66"], ["created_at", "2019-01-19 08:00:10.614620"], ["updated_at", "2019-01-19 08:00:10.614620"]] ↳ db/seeds.rb:8  (0.7ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$kY8FNrQH6o4z8gALY/ZDMu5ZPdeizp8l/SjXG7I3GAa5TiYjXLxXq"], ["created_at", "2019-01-19 08:00:10.714967"], ["updated_at", "2019-01-19 08:00:10.714967"]] ↳ db/seeds.rb:9  (1.2ms) commit transaction ↳ db/seeds.rb:9  (0.1ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.2ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 08:00:10.733740"], ["updated_at", "2019-01-19 08:00:10.733740"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 08:00:10.736928"], ["updated_at", "2019-01-19 08:00:10.736928"]] ↳ db/seeds.rb:14  (1.0ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.3ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 08:00:10.750080"], ["updated_at", "2019-01-19 08:00:10.750080"]] ↳ db/seeds.rb:18  (0.8ms) commit transaction ↳ db/seeds.rb:18  (0.1ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.3ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 08:00:10.753041"], ["updated_at", "2019-01-19 08:00:10.753041"]] ↳ db/seeds.rb:19  (0.6ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Aspernatur quia perspiciatis porro."], ["body", "Error ipsum amet. Voluptatem sapiente et. Dignissimos ullam magni."], ["created_at", "2019-01-19 08:00:11.343743"], ["updated_at", "2019-01-19 08:00:11.343743"]] ↳ db/seeds.rb:25  (0.8ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:00:11.354137"], ["updated_at", "2019-01-19 08:00:11.354137"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:00:11.355982"], ["updated_at", "2019-01-19 08:00:11.355982"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Et autem illo omnis."], ["body", "Omnis blanditiis nobis. Ut minus corporis. Voluptatem beatae at."], ["created_at", "2019-01-19 08:00:11.358067"], ["updated_at", "2019-01-19 08:00:11.358067"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 08:00:11.359904"], ["updated_at", "2019-01-19 08:00:11.359904"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 08:00:11.361627"], ["updated_at", "2019-01-19 08:00:11.361627"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Adipisci laudantium doloribus tempora."], ["body", "Ut dicta natus. A dolorem dolore. Temporibus accusantium recusandae."], ["created_at", "2019-01-19 08:00:11.363610"], ["updated_at", "2019-01-19 08:00:11.363610"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:00:11.365550"], ["updated_at", "2019-01-19 08:00:11.365550"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:00:11.367337"], ["updated_at", "2019-01-19 08:00:11.367337"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Et similique voluptas doloremque."], ["body", "Quisquam voluptatibus debitis. Aut omnis molestiae. Laboriosam numquam omnis."], ["created_at", "2019-01-19 08:00:11.369202"], ["updated_at", "2019-01-19 08:00:11.369202"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 08:00:11.370884"], ["updated_at", "2019-01-19 08:00:11.370884"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 08:00:11.372555"], ["updated_at", "2019-01-19 08:00:11.372555"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Voluptas perspiciatis eaque cupiditate."], ["body", "Omnis maxime inventore. A voluptates corporis. Et ut exercitationem."], ["created_at", "2019-01-19 08:00:11.374340"], ["updated_at", "2019-01-19 08:00:11.374340"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 08:00:11.376148"], ["updated_at", "2019-01-19 08:00:11.376148"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 08:00:11.377725"], ["updated_at", "2019-01-19 08:00:11.377725"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Ea unde non commodi."], ["body", "Omnis sit nulla. Alias optio libero. Maiores fugit illo."], ["created_at", "2019-01-19 08:00:11.379585"], ["updated_at", "2019-01-19 08:00:11.379585"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:00:11.381339"], ["updated_at", "2019-01-19 08:00:11.381339"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 08:00:11.383014"], ["updated_at", "2019-01-19 08:00:11.383014"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Incidunt molestiae libero harum."], ["body", "Asperiores sint magnam. In dolores quod. Ut sit in."], ["created_at", "2019-01-19 08:00:11.384831"], ["updated_at", "2019-01-19 08:00:11.384831"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:00:11.386700"], ["updated_at", "2019-01-19 08:00:11.386700"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:00:11.388451"], ["updated_at", "2019-01-19 08:00:11.388451"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Distinctio quia quidem adipisci."], ["body", "Sequi amet dolorum. Voluptas laboriosam et. Optio sequi dignissimos."], ["created_at", "2019-01-19 08:00:11.390412"], ["updated_at", "2019-01-19 08:00:11.390412"]] ↳ db/seeds.rb:29  (0.4ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 08:00:11.392144"], ["updated_at", "2019-01-19 08:00:11.392144"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:00:11.393801"], ["updated_at", "2019-01-19 08:00:11.393801"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Id omnis molestiae quis."], ["body", "Ipsam qui dolorem. Velit assumenda quae. Deleniti possimus omnis."], ["created_at", "2019-01-19 08:00:11.395606"], ["updated_at", "2019-01-19 08:00:11.395606"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:00:11.397505"], ["updated_at", "2019-01-19 08:00:11.397505"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 08:00:11.399258"], ["updated_at", "2019-01-19 08:00:11.399258"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quam voluptatem excepturi deserunt."], ["body", "Et non perspiciatis. Dolores ipsum ratione. Molestias corrupti perferendis."], ["created_at", "2019-01-19 08:00:11.401333"], ["updated_at", "2019-01-19 08:00:11.401333"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:00:11.403233"], ["updated_at", "2019-01-19 08:00:11.403233"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 08:00:11.404899"], ["updated_at", "2019-01-19 08:00:11.404899"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nihil et natus eaque."], ["body", "Adipisci nisi dignissimos. Velit veniam consequuntur. Esse modi ea."], ["created_at", "2019-01-19 08:00:11.406762"], ["updated_at", "2019-01-19 08:00:11.406762"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.408624"], ["updated_at", "2019-01-19 08:00:11.408624"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.410358"], ["updated_at", "2019-01-19 08:00:11.410358"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Est numquam dignissimos minima."], ["body", "Rerum quis corrupti. Perferendis tenetur pariatur. Qui architecto illo."], ["created_at", "2019-01-19 08:00:11.412316"], ["updated_at", "2019-01-19 08:00:11.412316"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.413942"], ["updated_at", "2019-01-19 08:00:11.413942"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:00:11.415614"], ["updated_at", "2019-01-19 08:00:11.415614"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ut beatae praesentium dolor."], ["body", "Qui ipsum ea. Et sed eius. Et dolores tempora."], ["created_at", "2019-01-19 08:00:11.417449"], ["updated_at", "2019-01-19 08:00:11.417449"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.1ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:00:11.419478"], ["updated_at", "2019-01-19 08:00:11.419478"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.421137"], ["updated_at", "2019-01-19 08:00:11.421137"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Magnam est sit nihil."], ["body", "Enim molestiae cum. Debitis possimus a. Quae in amet."], ["created_at", "2019-01-19 08:00:11.423067"], ["updated_at", "2019-01-19 08:00:11.423067"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:00:11.424771"], ["updated_at", "2019-01-19 08:00:11.424771"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:00:11.426376"], ["updated_at", "2019-01-19 08:00:11.426376"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Consequatur voluptatibus sed repellat."], ["body", "Cumque recusandae voluptate. Neque dolor nulla. Occaecati et voluptatem."], ["created_at", "2019-01-19 08:00:11.428176"], ["updated_at", "2019-01-19 08:00:11.428176"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.1ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 08:00:11.430281"], ["updated_at", "2019-01-19 08:00:11.430281"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.431872"], ["updated_at", "2019-01-19 08:00:11.431872"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Amet animi facilis sed."], ["body", "Odio dolorem delectus. Sint consequuntur id. Sapiente rerum eum."], ["created_at", "2019-01-19 08:00:11.433710"], ["updated_at", "2019-01-19 08:00:11.433710"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:00:11.435399"], ["updated_at", "2019-01-19 08:00:11.435399"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:00:11.436956"], ["updated_at", "2019-01-19 08:00:11.436956"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ad excepturi iusto veniam."], ["body", "Modi recusandae reprehenderit. Aliquid architecto praesentium. Sed corporis quasi."], ["created_at", "2019-01-19 08:00:11.438767"], ["updated_at", "2019-01-19 08:00:11.438767"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:00:11.440846"], ["updated_at", "2019-01-19 08:00:11.440846"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:00:11.442524"], ["updated_at", "2019-01-19 08:00:11.442524"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Maiores quidem doloremque harum."], ["body", "Nostrum sunt totam. Ut est quasi. Ut quaerat quia."], ["created_at", "2019-01-19 08:00:11.444414"], ["updated_at", "2019-01-19 08:00:11.444414"]] ↳ db/seeds.rb:41  (0.4ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:00:11.446028"], ["updated_at", "2019-01-19 08:00:11.446028"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:00:11.447671"], ["updated_at", "2019-01-19 08:00:11.447671"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Voluptatibus asperiores quia neque."], ["body", "Consequatur quo voluptas. Officia et ut. Qui sed et."], ["created_at", "2019-01-19 08:00:11.449481"], ["updated_at", "2019-01-19 08:00:11.449481"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:00:11.451624"], ["updated_at", "2019-01-19 08:00:11.451624"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.453297"], ["updated_at", "2019-01-19 08:00:11.453297"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Itaque quidem quos ea."], ["body", "Ex fugiat qui. Numquam reiciendis vero. Asperiores consequuntur rerum."], ["created_at", "2019-01-19 08:00:11.455187"], ["updated_at", "2019-01-19 08:00:11.455187"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:00:11.456775"], ["updated_at", "2019-01-19 08:00:11.456775"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.458393"], ["updated_at", "2019-01-19 08:00:11.458393"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Deserunt dolores ab corporis."], ["body", "Voluptates perferendis quo. Omnis consequatur voluptate. Magnam pariatur accusantium."], ["created_at", "2019-01-19 08:00:11.460187"], ["updated_at", "2019-01-19 08:00:11.460187"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.1ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.462263"], ["updated_at", "2019-01-19 08:00:11.462263"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:00:11.463946"], ["updated_at", "2019-01-19 08:00:11.463946"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Nulla ab est quis."], ["body", "Consequuntur distinctio aut. Consequuntur rerum numquam. Velit voluptatem id."], ["created_at", "2019-01-19 08:00:11.465822"], ["updated_at", "2019-01-19 08:00:11.465822"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.467515"], ["updated_at", "2019-01-19 08:00:11.467515"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.469133"], ["updated_at", "2019-01-19 08:00:11.469133"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Vel dolorum est iste."], ["body", "Iste et doloremque. Eius consectetur voluptas. Non sed saepe."], ["created_at", "2019-01-19 08:00:11.470924"], ["updated_at", "2019-01-19 08:00:11.470924"]] ↳ db/seeds.rb:46  (0.9ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:00:11.473076"], ["updated_at", "2019-01-19 08:00:11.473076"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:00:11.474742"], ["updated_at", "2019-01-19 08:00:11.474742"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Ut et qui dolores."], ["body", "Tempora reprehenderit aut. Dolor suscipit modi. Corrupti quisquam aut."], ["created_at", "2019-01-19 08:00:11.476775"], ["updated_at", "2019-01-19 08:00:11.476775"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.478435"], ["updated_at", "2019-01-19 08:00:11.478435"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:00:11.480080"], ["updated_at", "2019-01-19 08:00:11.480080"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Eos enim voluptatibus non."], ["body", "Sunt quasi dolores. Dolores nesciunt eligendi. Ab sapiente aut."], ["created_at", "2019-01-19 08:00:11.481847"], ["updated_at", "2019-01-19 08:00:11.481847"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.483968"], ["updated_at", "2019-01-19 08:00:11.483968"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:00:11.485890"], ["updated_at", "2019-01-19 08:00:11.485890"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.1ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Nesciunt quo sed dolorem."], ["body", "Cupiditate aut ea. Delectus non rerum. Dolores aut dolor."], ["created_at", "2019-01-19 08:00:11.487844"], ["updated_at", "2019-01-19 08:00:11.487844"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.489535"], ["updated_at", "2019-01-19 08:00:11.489535"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.491141"], ["updated_at", "2019-01-19 08:00:11.491141"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Eveniet quis nobis dolore."], ["body", "Voluptatem dolore voluptatibus. Accusamus reprehenderit harum. Accusamus aspernatur exercitationem."], ["created_at", "2019-01-19 08:00:11.493073"], ["updated_at", "2019-01-19 08:00:11.493073"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:00:11.495083"], ["updated_at", "2019-01-19 08:00:11.495083"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.496934"], ["updated_at", "2019-01-19 08:00:11.496934"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Sint enim harum id."], ["body", "Neque voluptatem iste. Est laboriosam velit. Qui nihil illo."], ["created_at", "2019-01-19 08:00:11.499042"], ["updated_at", "2019-01-19 08:00:11.499042"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 08:00:11.501034"], ["updated_at", "2019-01-19 08:00:11.501034"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:00:11.502666"], ["updated_at", "2019-01-19 08:00:11.502666"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Asperiores quia atque id."], ["body", "Repellendus culpa aspernatur. Voluptatum saepe hic. Voluptatibus amet ut."], ["created_at", "2019-01-19 08:00:11.504711"], ["updated_at", "2019-01-19 08:00:11.504711"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:00:11.506509"], ["updated_at", "2019-01-19 08:00:11.506509"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:00:11.508215"], ["updated_at", "2019-01-19 08:00:11.508215"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Nobis modi et nulla."], ["body", "Non rerum velit. Deserunt dolorem autem. Mollitia ut natus."], ["created_at", "2019-01-19 08:00:11.510080"], ["updated_at", "2019-01-19 08:00:11.510080"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:00:11.511660"], ["updated_at", "2019-01-19 08:00:11.511660"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 08:00:11.513197"], ["updated_at", "2019-01-19 08:00:11.513197"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT sqlite_version(*) ↳ bin/rails:14  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ bin/rails:14  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14 Migrating to DeviseCreateUsers (20181128042315)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128042315_devise_create_users.rb:5  (0.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/migrate/20181128042315_devise_create_users.rb:39  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/migrate/20181128042315_devise_create_users.rb:40 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128042315"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateClearances (20181128052541)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128052541_create_clearances.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128052541"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateCities (20181128063016)  (0.0ms) begin transaction ↳ bin/rails:14  (0.2ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128063016_create_cities.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128063016"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateReports (20181129002252)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c7699d537d" FOREIGN KEY ("user_id") REFERENCES "users" ("id") , CONSTRAINT "fk_rails_497347bc85" FOREIGN KEY ("clearance_id") REFERENCES "clearances" ("id") , CONSTRAINT "fk_rails_0e85997f50" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/migrate/20181129002252_create_reports.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129002252"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzControllerActions (20181129024103)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129024103_create_authz_controller_actions.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129024103"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzBusinessProcesses (20181129080058)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129080058_create_authz_business_processes.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129080058"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzBusinessProcessHasControllerActions (20181129091325)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9404d6fe94" FOREIGN KEY ("authz_controller_action_id") REFERENCES "authz_controller_actions" ("id") , CONSTRAINT "fk_rails_47fb2007ad" FOREIGN KEY ("authz_business_process_id") REFERENCES "authz_business_processes" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19  (0.1ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19  (0.1ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129091325"]] ↳ bin/rails:14  (0.8ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoles (20181129131405)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129131405_create_authz_roles.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129131405"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoleHasBusinessProcesses (20181129220317)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9e1f75159f" FOREIGN KEY ("authz_business_process_id") REFERENCES "authz_business_processes" ("id") , CONSTRAINT "fk_rails_97ef17aa6c" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3  (0.1ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3  (0.1ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129220317"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoleGrants (20181130053841)  (0.1ms) begin transaction ↳ bin/rails:14  (0.4ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3615802f3" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3  (0.2ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3  (0.1ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181130053841"]] ↳ bin/rails:14  (0.9ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzScopingRules (20190102030242)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_3035be893e" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190102030242"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateRatings (20190103083513)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9a416b320a" FOREIGN KEY ("report_id") REFERENCES "reports" ("id") , CONSTRAINT "fk_rails_a7dfeb9f5f" FOREIGN KEY ("user_id") REFERENCES "users" ("id") ) ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/migrate/20190103083513_create_ratings.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190103083513"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAnnouncements (20190104075934)  (0.0ms) begin transaction ↳ bin/rails:14  (0.4ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20190104075934_create_announcements.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104075934"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAnnouncementCities (20190104080155)  (0.0ms) begin transaction ↳ bin/rails:14  (0.4ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_f0ac4e0571" FOREIGN KEY ("announcement_id") REFERENCES "announcements" ("id") , CONSTRAINT "fk_rails_6562be5dd7" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104080155"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 08:00:46.825820"], ["updated_at", "2019-01-19 08:00:46.825820"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$gPs7yszfNLfQDAfZvjx/k.UGpNrsvLCL.cWC./7Dhmo1EfUCreWpC"], ["created_at", "2019-01-19 08:01:15.567078"], ["updated_at", "2019-01-19 08:01:15.567078"]] ↳ db/seeds.rb:3  (0.8ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$9FZyHfFJy2zqEOQpJO32SebixFjwVpYPsFySJmYf0i0AoR39XPmZu"], ["created_at", "2019-01-19 08:01:15.656038"], ["updated_at", "2019-01-19 08:01:15.656038"]] ↳ db/seeds.rb:4  (1.6ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$ZZtpFZd4h3gstvmp/B1UP.9B9WNHvh4zdE6pXct9L9fXhbRa/wBcW"], ["created_at", "2019-01-19 08:01:15.756335"], ["updated_at", "2019-01-19 08:01:15.756335"]] ↳ db/seeds.rb:5  (1.3ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$ZQcxFajWj4p71aSwvPbfJuhSHaUrocEpKkVQ1WcIHksifS94qw5b6"], ["created_at", "2019-01-19 08:01:15.856984"], ["updated_at", "2019-01-19 08:01:15.856984"]] ↳ db/seeds.rb:6  (1.3ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$uybv/YnLvdytv0sLa3Q1S.yjcJ8vXwVknE6jDpkArSauSDZG4jG.6"], ["created_at", "2019-01-19 08:01:15.948241"], ["updated_at", "2019-01-19 08:01:15.948241"]] ↳ db/seeds.rb:7  (1.0ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$3GVy.mXJonqEBJpqkEGtIOwuEyJjbmBem7FUGy0XBkFtmGZ9addNO"], ["created_at", "2019-01-19 08:01:16.038275"], ["updated_at", "2019-01-19 08:01:16.038275"]] ↳ db/seeds.rb:8  (1.0ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$EikN7j0QoubNm2lJkdU95Og.6TQaV4lHLQviqOFfhkXGnD4g7sB1m"], ["created_at", "2019-01-19 08:01:16.127401"], ["updated_at", "2019-01-19 08:01:16.127401"]] ↳ db/seeds.rb:9  (1.1ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 08:01:16.136795"], ["updated_at", "2019-01-19 08:01:16.136795"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 08:01:16.139364"], ["updated_at", "2019-01-19 08:01:16.139364"]] ↳ db/seeds.rb:14  (0.4ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 08:01:16.152636"], ["updated_at", "2019-01-19 08:01:16.152636"]] ↳ db/seeds.rb:18  (0.6ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 08:01:16.155024"], ["updated_at", "2019-01-19 08:01:16.155024"]] ↳ db/seeds.rb:19  (0.4ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (1.0ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Delectus quo eligendi aliquam."], ["body", "Nisi consequuntur ut. Quam qui maiores. Exercitationem ea totam."], ["created_at", "2019-01-19 08:01:16.681705"], ["updated_at", "2019-01-19 08:01:16.681705"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:01:16.692183"], ["updated_at", "2019-01-19 08:01:16.692183"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 08:01:16.694078"], ["updated_at", "2019-01-19 08:01:16.694078"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Rem dolore voluptas qui."], ["body", "Accusantium enim quos. Reiciendis dolorum eaque. Aliquid et dignissimos."], ["created_at", "2019-01-19 08:01:16.696149"], ["updated_at", "2019-01-19 08:01:16.696149"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 08:01:16.697959"], ["updated_at", "2019-01-19 08:01:16.697959"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 08:01:16.699517"], ["updated_at", "2019-01-19 08:01:16.699517"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Voluptas quo eum autem."], ["body", "Asperiores a officiis. Nisi ut sed. Doloremque ad expedita."], ["created_at", "2019-01-19 08:01:16.701435"], ["updated_at", "2019-01-19 08:01:16.701435"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 08:01:16.703265"], ["updated_at", "2019-01-19 08:01:16.703265"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 08:01:16.705038"], ["updated_at", "2019-01-19 08:01:16.705038"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Modi perferendis at voluptas."], ["body", "Praesentium ipsa dolorem. Aut tenetur alias. Et nihil ratione."], ["created_at", "2019-01-19 08:01:16.706963"], ["updated_at", "2019-01-19 08:01:16.706963"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 08:01:16.708750"], ["updated_at", "2019-01-19 08:01:16.708750"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 08:01:16.710507"], ["updated_at", "2019-01-19 08:01:16.710507"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Nam ad tenetur aut."], ["body", "Quae illo et. Qui hic laborum. Perspiciatis quis rerum."], ["created_at", "2019-01-19 08:01:16.712980"], ["updated_at", "2019-01-19 08:01:16.712980"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:01:16.714881"], ["updated_at", "2019-01-19 08:01:16.714881"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 08:01:16.717113"], ["updated_at", "2019-01-19 08:01:16.717113"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Expedita fuga consectetur commodi."], ["body", "Sint veritatis omnis. Aut hic et. Magni at voluptatem."], ["created_at", "2019-01-19 08:01:16.719249"], ["updated_at", "2019-01-19 08:01:16.719249"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 08:01:16.721089"], ["updated_at", "2019-01-19 08:01:16.721089"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:01:16.722740"], ["updated_at", "2019-01-19 08:01:16.722740"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Tenetur ducimus praesentium ea."], ["body", "Repellendus hic non. Et autem perspiciatis. Quo aut sit."], ["created_at", "2019-01-19 08:01:16.724627"], ["updated_at", "2019-01-19 08:01:16.724627"]] ↳ db/seeds.rb:25  (0.4ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 08:01:16.726333"], ["updated_at", "2019-01-19 08:01:16.726333"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:01:16.728020"], ["updated_at", "2019-01-19 08:01:16.728020"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Maxime ipsum perferendis sed."], ["body", "Similique architecto omnis. Quod assumenda vel. At dolores quos."], ["created_at", "2019-01-19 08:01:16.729859"], ["updated_at", "2019-01-19 08:01:16.729859"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 08:01:16.731648"], ["updated_at", "2019-01-19 08:01:16.731648"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 08:01:16.733240"], ["updated_at", "2019-01-19 08:01:16.733240"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Rerum error et sed."], ["body", "Magni quas in. Dolorum commodi necessitatibus. Et quia in."], ["created_at", "2019-01-19 08:01:16.735258"], ["updated_at", "2019-01-19 08:01:16.735258"]] ↳ db/seeds.rb:25  (0.5ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:01:16.737036"], ["updated_at", "2019-01-19 08:01:16.737036"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 08:01:16.738830"], ["updated_at", "2019-01-19 08:01:16.738830"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Dicta cumque sint et."], ["body", "Voluptate quod deserunt. Nam iusto aut. Deserunt ea maxime."], ["created_at", "2019-01-19 08:01:16.740758"], ["updated_at", "2019-01-19 08:01:16.740758"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:01:16.742405"], ["updated_at", "2019-01-19 08:01:16.742405"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 08:01:16.744073"], ["updated_at", "2019-01-19 08:01:16.744073"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Perferendis qui rem qui."], ["body", "Odit sit culpa. Qui et maxime. Aliquam dignissimos omnis."], ["created_at", "2019-01-19 08:01:16.745893"], ["updated_at", "2019-01-19 08:01:16.745893"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:01:16.747766"], ["updated_at", "2019-01-19 08:01:16.747766"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:01:16.749413"], ["updated_at", "2019-01-19 08:01:16.749413"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Laborum voluptatem doloremque nihil."], ["body", "Deleniti odio amet. Illum vero doloribus. Aut aut velit."], ["created_at", "2019-01-19 08:01:16.751378"], ["updated_at", "2019-01-19 08:01:16.751378"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:01:16.753123"], ["updated_at", "2019-01-19 08:01:16.753123"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:01:16.754816"], ["updated_at", "2019-01-19 08:01:16.754816"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Quo maxime enim modi."], ["body", "Maiores provident architecto. Et assumenda voluptas. Laborum maiores at."], ["created_at", "2019-01-19 08:01:16.756790"], ["updated_at", "2019-01-19 08:01:16.756790"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:01:16.758646"], ["updated_at", "2019-01-19 08:01:16.758646"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.760500"], ["updated_at", "2019-01-19 08:01:16.760500"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Veritatis deleniti reprehenderit cum."], ["body", "Autem recusandae illum. Cum impedit maxime. Rerum tenetur odit."], ["created_at", "2019-01-19 08:01:16.762377"], ["updated_at", "2019-01-19 08:01:16.762377"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:01:16.764452"], ["updated_at", "2019-01-19 08:01:16.764452"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:01:16.766393"], ["updated_at", "2019-01-19 08:01:16.766393"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Ullam nemo tempora autem."], ["body", "Cum aut nobis. Sed temporibus eaque. Voluptatem nemo suscipit."], ["created_at", "2019-01-19 08:01:16.768545"], ["updated_at", "2019-01-19 08:01:16.768545"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.770546"], ["updated_at", "2019-01-19 08:01:16.770546"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 08:01:16.772226"], ["updated_at", "2019-01-19 08:01:16.772226"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptatem explicabo voluptatum est."], ["body", "Eaque ipsum aperiam. Animi omnis voluptatem. Neque minima illo."], ["created_at", "2019-01-19 08:01:16.774424"], ["updated_at", "2019-01-19 08:01:16.774424"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:01:16.776296"], ["updated_at", "2019-01-19 08:01:16.776296"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.6ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:01:16.777865"], ["updated_at", "2019-01-19 08:01:16.777865"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Sunt est quia omnis."], ["body", "Natus commodi in. Qui quidem reprehenderit. Aut quos explicabo."], ["created_at", "2019-01-19 08:01:16.780545"], ["updated_at", "2019-01-19 08:01:16.780545"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.782484"], ["updated_at", "2019-01-19 08:01:16.782484"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.1ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.784099"], ["updated_at", "2019-01-19 08:01:16.784099"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Culpa sit dicta laboriosam."], ["body", "Exercitationem quas quia. Nihil quisquam ad. Et perferendis earum."], ["created_at", "2019-01-19 08:01:16.786088"], ["updated_at", "2019-01-19 08:01:16.786088"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:01:16.787936"], ["updated_at", "2019-01-19 08:01:16.787936"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:01:16.789644"], ["updated_at", "2019-01-19 08:01:16.789644"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Eos sed quia et."], ["body", "Aut ut corrupti. Exercitationem quo quaerat. Nihil delectus inventore."], ["created_at", "2019-01-19 08:01:16.791543"], ["updated_at", "2019-01-19 08:01:16.791543"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:01:16.793543"], ["updated_at", "2019-01-19 08:01:16.793543"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:01:16.795158"], ["updated_at", "2019-01-19 08:01:16.795158"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Occaecati aliquid dolorum non."], ["body", "Culpa vel accusamus. Repudiandae pariatur rem. Blanditiis ea quasi."], ["created_at", "2019-01-19 08:01:16.797237"], ["updated_at", "2019-01-19 08:01:16.797237"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 08:01:16.799098"], ["updated_at", "2019-01-19 08:01:16.799098"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.1ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:01:16.800788"], ["updated_at", "2019-01-19 08:01:16.800788"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Dolores qui totam harum."], ["body", "Rem eos cupiditate. Et quo ipsa. Quia ad illo."], ["created_at", "2019-01-19 08:01:16.802777"], ["updated_at", "2019-01-19 08:01:16.802777"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.804550"], ["updated_at", "2019-01-19 08:01:16.804550"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:01:16.806045"], ["updated_at", "2019-01-19 08:01:16.806045"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Voluptatem blanditiis eum corrupti."], ["body", "Exercitationem natus qui. Impedit fugit harum. Voluptas nulla minima."], ["created_at", "2019-01-19 08:01:16.807905"], ["updated_at", "2019-01-19 08:01:16.807905"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:01:16.809696"], ["updated_at", "2019-01-19 08:01:16.809696"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:01:16.811416"], ["updated_at", "2019-01-19 08:01:16.811416"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Et est aut omnis."], ["body", "Illum explicabo est. Ipsam error molestias. Sint voluptatem iure."], ["created_at", "2019-01-19 08:01:16.813466"], ["updated_at", "2019-01-19 08:01:16.813466"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:01:16.815376"], ["updated_at", "2019-01-19 08:01:16.815376"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.817049"], ["updated_at", "2019-01-19 08:01:16.817049"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Laborum velit quia provident."], ["body", "Harum sit fugiat. Similique quos consequuntur. Eaque est magni."], ["created_at", "2019-01-19 08:01:16.819170"], ["updated_at", "2019-01-19 08:01:16.819170"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:01:16.821046"], ["updated_at", "2019-01-19 08:01:16.821046"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:01:16.822840"], ["updated_at", "2019-01-19 08:01:16.822840"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Tempore animi enim nihil."], ["body", "A dicta vero. Laudantium quam non. Quia placeat non."], ["created_at", "2019-01-19 08:01:16.824942"], ["updated_at", "2019-01-19 08:01:16.824942"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.826780"], ["updated_at", "2019-01-19 08:01:16.826780"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.828472"], ["updated_at", "2019-01-19 08:01:16.828472"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Qui voluptas harum enim."], ["body", "Officiis inventore aut. Eum sit eveniet. Aut rerum illum."], ["created_at", "2019-01-19 08:01:16.830562"], ["updated_at", "2019-01-19 08:01:16.830562"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:01:16.832616"], ["updated_at", "2019-01-19 08:01:16.832616"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:01:16.834848"], ["updated_at", "2019-01-19 08:01:16.834848"]] ↳ db/seeds.rb:52  (0.8ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Accusantium quia repellat est."], ["body", "Praesentium necessitatibus sit. Quo omnis est. Cupiditate ut tenetur."], ["created_at", "2019-01-19 08:01:16.837709"], ["updated_at", "2019-01-19 08:01:16.837709"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:01:16.840159"], ["updated_at", "2019-01-19 08:01:16.840159"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.1ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:01:16.842794"], ["updated_at", "2019-01-19 08:01:16.842794"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Adipisci rem reprehenderit nihil."], ["body", "Earum veniam aliquid. Qui ut quis. Vel in minima."], ["created_at", "2019-01-19 08:01:16.845865"], ["updated_at", "2019-01-19 08:01:16.845865"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:01:16.848234"], ["updated_at", "2019-01-19 08:01:16.848234"]] ↳ db/seeds.rb:52  (0.8ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 08:01:16.850760"], ["updated_at", "2019-01-19 08:01:16.850760"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Veniam eligendi quo nulla."], ["body", "Ipsa tempore ipsam. Dignissimos eos nihil. Debitis est ratione."], ["created_at", "2019-01-19 08:01:16.853431"], ["updated_at", "2019-01-19 08:01:16.853431"]] ↳ db/seeds.rb:46  (0.8ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:01:16.855891"], ["updated_at", "2019-01-19 08:01:16.855891"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 08:01:16.857724"], ["updated_at", "2019-01-19 08:01:16.857724"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Nesciunt in omnis rerum."], ["body", "Quis temporibus error. Vel quod itaque. Quis fugiat sed."], ["created_at", "2019-01-19 08:01:16.860055"], ["updated_at", "2019-01-19 08:01:16.860055"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:01:16.862351"], ["updated_at", "2019-01-19 08:01:16.862351"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 08:01:16.864320"], ["updated_at", "2019-01-19 08:01:16.864320"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "properties"], ["created_at", "2019-01-19 08:01:16.871299"], ["updated_at", "2019-01-19 08:01:16.871299"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "routes"], ["created_at", "2019-01-19 08:01:16.873505"], ["updated_at", "2019-01-19 08:01:16.873505"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.875831"], ["updated_at", "2019-01-19 08:01:16.875831"]] ↳ db/seeds.rb:64  (0.8ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/mailers"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.878757"], ["updated_at", "2019-01-19 08:01:16.878757"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "visitors"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.881300"], ["updated_at", "2019-01-19 08:01:16.881300"]] ↳ db/seeds.rb:64  (0.7ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "new"], ["created_at", "2019-01-19 08:01:16.883950"], ["updated_at", "2019-01-19 08:01:16.883950"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.886366"], ["updated_at", "2019-01-19 08:01:16.886366"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.1ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:16.889267"], ["updated_at", "2019-01-19 08:01:16.889267"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "new"], ["created_at", "2019-01-19 08:01:16.891628"], ["updated_at", "2019-01-19 08:01:16.891628"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "edit"], ["created_at", "2019-01-19 08:01:16.893911"], ["updated_at", "2019-01-19 08:01:16.893911"]] ↳ db/seeds.rb:64  (0.7ms) commit transaction ↳ db/seeds.rb:64  (0.1ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "update"], ["created_at", "2019-01-19 08:01:16.896604"], ["updated_at", "2019-01-19 08:01:16.896604"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.898841"], ["updated_at", "2019-01-19 08:01:16.898841"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "cancel"], ["created_at", "2019-01-19 08:01:16.901177"], ["updated_at", "2019-01-19 08:01:16.901177"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "new"], ["created_at", "2019-01-19 08:01:16.903253"], ["updated_at", "2019-01-19 08:01:16.903253"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "edit"], ["created_at", "2019-01-19 08:01:16.905582"], ["updated_at", "2019-01-19 08:01:16.905582"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "update"], ["created_at", "2019-01-19 08:01:16.907821"], ["updated_at", "2019-01-19 08:01:16.907821"]] ↳ db/seeds.rb:64  (0.4ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:16.909778"], ["updated_at", "2019-01-19 08:01:16.909778"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.912128"], ["updated_at", "2019-01-19 08:01:16.912128"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.914342"], ["updated_at", "2019-01-19 08:01:16.914342"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.916757"], ["updated_at", "2019-01-19 08:01:16.916757"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "new"], ["created_at", "2019-01-19 08:01:16.919671"], ["updated_at", "2019-01-19 08:01:16.919671"]] ↳ db/seeds.rb:64  (0.4ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "edit"], ["created_at", "2019-01-19 08:01:16.921829"], ["updated_at", "2019-01-19 08:01:16.921829"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "show"], ["created_at", "2019-01-19 08:01:16.923829"], ["updated_at", "2019-01-19 08:01:16.923829"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "update"], ["created_at", "2019-01-19 08:01:16.925915"], ["updated_at", "2019-01-19 08:01:16.925915"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:16.927872"], ["updated_at", "2019-01-19 08:01:16.927872"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.930089"], ["updated_at", "2019-01-19 08:01:16.930089"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.932219"], ["updated_at", "2019-01-19 08:01:16.932219"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "new"], ["created_at", "2019-01-19 08:01:16.934661"], ["updated_at", "2019-01-19 08:01:16.934661"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "edit"], ["created_at", "2019-01-19 08:01:16.937193"], ["updated_at", "2019-01-19 08:01:16.937193"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "update"], ["created_at", "2019-01-19 08:01:16.939329"], ["updated_at", "2019-01-19 08:01:16.939329"]] ↳ db/seeds.rb:64  (0.7ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:16.942074"], ["updated_at", "2019-01-19 08:01:16.942074"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.944338"], ["updated_at", "2019-01-19 08:01:16.944338"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.946684"], ["updated_at", "2019-01-19 08:01:16.946684"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "new"], ["created_at", "2019-01-19 08:01:16.948861"], ["updated_at", "2019-01-19 08:01:16.948861"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "edit"], ["created_at", "2019-01-19 08:01:16.951295"], ["updated_at", "2019-01-19 08:01:16.951295"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "update"], ["created_at", "2019-01-19 08:01:16.953423"], ["updated_at", "2019-01-19 08:01:16.953423"]] ↳ db/seeds.rb:64  (0.7ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:16.955801"], ["updated_at", "2019-01-19 08:01:16.955801"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.958240"], ["updated_at", "2019-01-19 08:01:16.958240"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.960693"], ["updated_at", "2019-01-19 08:01:16.960693"]] ↳ db/seeds.rb:64  (0.6ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "new"], ["created_at", "2019-01-19 08:01:16.963139"], ["updated_at", "2019-01-19 08:01:16.963139"]] ↳ db/seeds.rb:64  (0.8ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:16.965976"], ["updated_at", "2019-01-19 08:01:16.965976"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/disk"], ["action", "update"], ["created_at", "2019-01-19 08:01:16.968477"], ["updated_at", "2019-01-19 08:01:16.968477"]] ↳ db/seeds.rb:64  (0.7ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/direct_uploads"], ["action", "create"], ["created_at", "2019-01-19 08:01:16.970845"], ["updated_at", "2019-01-19 08:01:16.970845"]] ↳ db/seeds.rb:64  (0.5ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:64 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:64 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/welcome"], ["action", "index"], ["created_at", "2019-01-19 08:01:16.973133"], ["updated_at", "2019-01-19 08:01:16.973133"]] ↳ db/seeds.rb:64  (0.7ms) commit transaction ↳ db/seeds.rb:64  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_clearances"], ["name", "View clearances"], ["description", "View clearances"], ["created_at", "2019-01-19 08:01:17.030445"], ["updated_at", "2019-01-19 08:01:17.030445"]] ↳ db/seeds.rb:77  (2.3ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "clearances"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.4ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["created_at", "2019-01-19 08:01:17.059055"], ["updated_at", "2019-01-19 08:01:17.059055"]] ↳ db/seeds.rb:85  (0.8ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_clearances"], ["name", "Manage clearances"], ["description", "Manage clearances"], ["created_at", "2019-01-19 08:01:17.062910"], ["updated_at", "2019-01-19 08:01:17.062910"]] ↳ db/seeds.rb:77  (0.7ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "clearances"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:01:17.067156"], ["updated_at", "2019-01-19 08:01:17.067156"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:01:17.068769"], ["updated_at", "2019-01-19 08:01:17.068769"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:01:17.070011"], ["updated_at", "2019-01-19 08:01:17.070011"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:01:17.071392"], ["updated_at", "2019-01-19 08:01:17.071392"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:01:17.072710"], ["updated_at", "2019-01-19 08:01:17.072710"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:01:17.073940"], ["updated_at", "2019-01-19 08:01:17.073940"]] ↳ db/seeds.rb:85  (0.8ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View cities"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_cities"], ["name", "View cities"], ["description", "View cities"], ["created_at", "2019-01-19 08:01:17.076687"], ["updated_at", "2019-01-19 08:01:17.076687"]] ↳ db/seeds.rb:77  (0.5ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "cities"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["created_at", "2019-01-19 08:01:17.079740"], ["updated_at", "2019-01-19 08:01:17.079740"]] ↳ db/seeds.rb:85  (0.7ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage cities"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_cities"], ["name", "Manage cities"], ["description", "Manage cities"], ["created_at", "2019-01-19 08:01:17.082530"], ["updated_at", "2019-01-19 08:01:17.082530"]] ↳ db/seeds.rb:77  (0.6ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "cities"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:01:17.086122"], ["updated_at", "2019-01-19 08:01:17.086122"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:01:17.088184"], ["updated_at", "2019-01-19 08:01:17.088184"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:01:17.090516"], ["updated_at", "2019-01-19 08:01:17.090516"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:01:17.092263"], ["updated_at", "2019-01-19 08:01:17.092263"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:01:17.093995"], ["updated_at", "2019-01-19 08:01:17.093995"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:01:17.095435"], ["updated_at", "2019-01-19 08:01:17.095435"]] ↳ db/seeds.rb:85  (0.8ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View reports"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_reports"], ["name", "View reports"], ["description", "View reports"], ["created_at", "2019-01-19 08:01:17.098834"], ["updated_at", "2019-01-19 08:01:17.098834"]] ↳ db/seeds.rb:77  (0.7ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "reports"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["created_at", "2019-01-19 08:01:17.103007"], ["updated_at", "2019-01-19 08:01:17.103007"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["created_at", "2019-01-19 08:01:17.104596"], ["updated_at", "2019-01-19 08:01:17.104596"]] ↳ db/seeds.rb:85  (0.6ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage reports"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_reports"], ["name", "Manage reports"], ["description", "Manage reports"], ["created_at", "2019-01-19 08:01:17.107230"], ["updated_at", "2019-01-19 08:01:17.107230"]] ↳ db/seeds.rb:77  (0.6ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "reports"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:01:17.111343"], ["updated_at", "2019-01-19 08:01:17.111343"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:01:17.112907"], ["updated_at", "2019-01-19 08:01:17.112907"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:01:17.114403"], ["updated_at", "2019-01-19 08:01:17.114403"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:01:17.115856"], ["updated_at", "2019-01-19 08:01:17.115856"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:01:17.117388"], ["updated_at", "2019-01-19 08:01:17.117388"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:01:17.118919"], ["updated_at", "2019-01-19 08:01:17.118919"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:01:17.120359"], ["updated_at", "2019-01-19 08:01:17.120359"]] ↳ db/seeds.rb:85  (1.0ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_announcements"], ["name", "View announcements"], ["description", "View announcements"], ["created_at", "2019-01-19 08:01:17.123690"], ["updated_at", "2019-01-19 08:01:17.123690"]] ↳ db/seeds.rb:77  (0.7ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "announcements"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["created_at", "2019-01-19 08:01:17.127947"], ["updated_at", "2019-01-19 08:01:17.127947"]] ↳ db/seeds.rb:85  (0.8ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.2ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:77 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_announcements"], ["name", "Manage announcements"], ["description", "Manage announcements"], ["created_at", "2019-01-19 08:01:17.131534"], ["updated_at", "2019-01-19 08:01:17.131534"]] ↳ db/seeds.rb:77  (0.6ms) commit transaction ↳ db/seeds.rb:77 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "announcements"]] ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:01:17.135435"], ["updated_at", "2019-01-19 08:01:17.135435"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:01:17.137076"], ["updated_at", "2019-01-19 08:01:17.137076"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:01:17.138290"], ["updated_at", "2019-01-19 08:01:17.138290"]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:85 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:01:17.139582"], ["updated_at", "2019-01-19 08:01:17.139582"]] ↳ db/seeds.rb:85  (1.1ms) commit transaction ↳ db/seeds.rb:85  (0.0ms) begin transaction ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "general_director"], ["name", "general_director"], ["description", "general_director"], ["created_at", "2019-01-19 08:01:17.149805"], ["updated_at", "2019-01-19 08:01:17.149805"]] ↳ db/seeds.rb:96  (0.7ms) commit transaction ↳ db/seeds.rb:96 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.163812"], ["updated_at", "2019-01-19 08:01:17.163812"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.165543"], ["updated_at", "2019-01-19 08:01:17.165543"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.166760"], ["updated_at", "2019-01-19 08:01:17.166760"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.167916"], ["updated_at", "2019-01-19 08:01:17.167916"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.168996"], ["updated_at", "2019-01-19 08:01:17.168996"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.170131"], ["updated_at", "2019-01-19 08:01:17.170131"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.171225"], ["updated_at", "2019-01-19 08:01:17.171225"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 1], ["created_at", "2019-01-19 08:01:17.172369"], ["updated_at", "2019-01-19 08:01:17.172369"]] ↳ db/seeds.rb:104  (0.9ms) commit transaction ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:107 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:107 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 08:01:17.186070"], ["updated_at", "2019-01-19 08:01:17.186070"]] ↳ db/seeds.rb:107  (0.6ms) commit transaction ↳ db/seeds.rb:107  (0.0ms) begin transaction ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_director"], ["name", "ny_director"], ["description", "ny_director"], ["created_at", "2019-01-19 08:01:17.188677"], ["updated_at", "2019-01-19 08:01:17.188677"]] ↳ db/seeds.rb:96  (0.4ms) commit transaction ↳ db/seeds.rb:96 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.191548"], ["updated_at", "2019-01-19 08:01:17.191548"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.193030"], ["updated_at", "2019-01-19 08:01:17.193030"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.194178"], ["updated_at", "2019-01-19 08:01:17.194178"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.195278"], ["updated_at", "2019-01-19 08:01:17.195278"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.196410"], ["updated_at", "2019-01-19 08:01:17.196410"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.197445"], ["updated_at", "2019-01-19 08:01:17.197445"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.198505"], ["updated_at", "2019-01-19 08:01:17.198505"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 2], ["created_at", "2019-01-19 08:01:17.199529"], ["updated_at", "2019-01-19 08:01:17.199529"]] ↳ db/seeds.rb:104  (0.6ms) commit transaction ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:107 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:107 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["created_at", "2019-01-19 08:01:17.202211"], ["updated_at", "2019-01-19 08:01:17.202211"]] ↳ db/seeds.rb:107  (0.6ms) commit transaction ↳ db/seeds.rb:107  (0.0ms) begin transaction ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_director"], ["name", "sf_director"], ["description", "sf_director"], ["created_at", "2019-01-19 08:01:17.204526"], ["updated_at", "2019-01-19 08:01:17.204526"]] ↳ db/seeds.rb:96  (0.5ms) commit transaction ↳ db/seeds.rb:96 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.207299"], ["updated_at", "2019-01-19 08:01:17.207299"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.208522"], ["updated_at", "2019-01-19 08:01:17.208522"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.209545"], ["updated_at", "2019-01-19 08:01:17.209545"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.210541"], ["updated_at", "2019-01-19 08:01:17.210541"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.211664"], ["updated_at", "2019-01-19 08:01:17.211664"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.212822"], ["updated_at", "2019-01-19 08:01:17.212822"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.214047"], ["updated_at", "2019-01-19 08:01:17.214047"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 3], ["created_at", "2019-01-19 08:01:17.216076"], ["updated_at", "2019-01-19 08:01:17.216076"]] ↳ db/seeds.rb:104  (0.8ms) commit transaction ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:107 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:107 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["created_at", "2019-01-19 08:01:17.220019"], ["updated_at", "2019-01-19 08:01:17.220019"]] ↳ db/seeds.rb:107  (0.5ms) commit transaction ↳ db/seeds.rb:107  (0.0ms) begin transaction ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_agent"], ["name", "ny_agent"], ["description", "ny_agent"], ["created_at", "2019-01-19 08:01:17.222730"], ["updated_at", "2019-01-19 08:01:17.222730"]] ↳ db/seeds.rb:96  (0.7ms) commit transaction ↳ db/seeds.rb:96 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.226137"], ["updated_at", "2019-01-19 08:01:17.226137"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.227468"], ["updated_at", "2019-01-19 08:01:17.227468"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.228563"], ["updated_at", "2019-01-19 08:01:17.228563"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.229943"], ["updated_at", "2019-01-19 08:01:17.229943"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.231087"], ["updated_at", "2019-01-19 08:01:17.231087"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.232260"], ["updated_at", "2019-01-19 08:01:17.232260"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.233352"], ["updated_at", "2019-01-19 08:01:17.233352"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 4], ["created_at", "2019-01-19 08:01:17.234391"], ["updated_at", "2019-01-19 08:01:17.234391"]] ↳ db/seeds.rb:104  (0.6ms) commit transaction ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:107 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:107 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["created_at", "2019-01-19 08:01:17.237134"], ["updated_at", "2019-01-19 08:01:17.237134"]] ↳ db/seeds.rb:107  (0.6ms) commit transaction ↳ db/seeds.rb:107  (0.0ms) begin transaction ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_agent"], ["name", "sf_agent"], ["description", "sf_agent"], ["created_at", "2019-01-19 08:01:17.239575"], ["updated_at", "2019-01-19 08:01:17.239575"]] ↳ db/seeds.rb:96  (0.5ms) commit transaction ↳ db/seeds.rb:96 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.242866"], ["updated_at", "2019-01-19 08:01:17.242866"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.244313"], ["updated_at", "2019-01-19 08:01:17.244313"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.245508"], ["updated_at", "2019-01-19 08:01:17.245508"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.246593"], ["updated_at", "2019-01-19 08:01:17.246593"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.247624"], ["updated_at", "2019-01-19 08:01:17.247624"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.249007"], ["updated_at", "2019-01-19 08:01:17.249007"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.250119"], ["updated_at", "2019-01-19 08:01:17.250119"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 5], ["created_at", "2019-01-19 08:01:17.251184"], ["updated_at", "2019-01-19 08:01:17.251184"]] ↳ db/seeds.rb:104  (0.7ms) commit transaction ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:107 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:107 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["created_at", "2019-01-19 08:01:17.253902"], ["updated_at", "2019-01-19 08:01:17.253902"]] ↳ db/seeds.rb:107  (0.7ms) commit transaction ↳ db/seeds.rb:107  (0.0ms) begin transaction ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_auditor"], ["name", "ny_auditor"], ["description", "ny_auditor"], ["created_at", "2019-01-19 08:01:17.256922"], ["updated_at", "2019-01-19 08:01:17.256922"]] ↳ db/seeds.rb:96  (0.5ms) commit transaction ↳ db/seeds.rb:96 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 6], ["created_at", "2019-01-19 08:01:17.260358"], ["updated_at", "2019-01-19 08:01:17.260358"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 6], ["created_at", "2019-01-19 08:01:17.261735"], ["updated_at", "2019-01-19 08:01:17.261735"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 6], ["created_at", "2019-01-19 08:01:17.262857"], ["updated_at", "2019-01-19 08:01:17.262857"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 6], ["created_at", "2019-01-19 08:01:17.264055"], ["updated_at", "2019-01-19 08:01:17.264055"]] ↳ db/seeds.rb:104  (0.5ms) commit transaction ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:107 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:107 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["created_at", "2019-01-19 08:01:17.266860"], ["updated_at", "2019-01-19 08:01:17.266860"]] ↳ db/seeds.rb:107  (0.6ms) commit transaction ↳ db/seeds.rb:107  (0.0ms) begin transaction ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:96 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_auditor"], ["name", "sf_auditor"], ["description", "sf_auditor"], ["created_at", "2019-01-19 08:01:17.269389"], ["updated_at", "2019-01-19 08:01:17.269389"]] ↳ db/seeds.rb:96  (0.6ms) commit transaction ↳ db/seeds.rb:96 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 7], ["created_at", "2019-01-19 08:01:17.272427"], ["updated_at", "2019-01-19 08:01:17.272427"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 7], ["created_at", "2019-01-19 08:01:17.273738"], ["updated_at", "2019-01-19 08:01:17.273738"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 7], ["created_at", "2019-01-19 08:01:17.274829"], ["updated_at", "2019-01-19 08:01:17.274829"]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:104 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 7], ["created_at", "2019-01-19 08:01:17.275982"], ["updated_at", "2019-01-19 08:01:17.275982"]] ↳ db/seeds.rb:104  (0.5ms) commit transaction ↳ db/seeds.rb:104  (0.0ms) begin transaction ↳ db/seeds.rb:107 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:107 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["created_at", "2019-01-19 08:01:17.278610"], ["updated_at", "2019-01-19 08:01:17.278610"]] ↳ db/seeds.rb:107  (0.6ms) commit transaction ↳ db/seeds.rb:107 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:114  (0.0ms) begin transaction ↳ db/seeds.rb:115 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:115  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 08:01:17.286783"], ["updated_at", "2019-01-19 08:01:17.286783"]] ↳ db/seeds.rb:115  (0.6ms) commit transaction ↳ db/seeds.rb:115  (0.0ms) begin transaction ↳ db/seeds.rb:116 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:116  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 08:01:17.289427"], ["updated_at", "2019-01-19 08:01:17.289427"]] ↳ db/seeds.rb:116  (0.7ms) commit transaction ↳ db/seeds.rb:116 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'ny%') ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:124 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:124  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["keyword", "New York"], ["created_at", "2019-01-19 08:01:17.292734"], ["updated_at", "2019-01-19 08:01:17.292734"]] ↳ db/seeds.rb:124  (0.7ms) commit transaction ↳ db/seeds.rb:124  (0.0ms) begin transaction ↳ db/seeds.rb:124 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:124  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["keyword", "New York"], ["created_at", "2019-01-19 08:01:17.295355"], ["updated_at", "2019-01-19 08:01:17.295355"]] ↳ db/seeds.rb:124  (0.5ms) commit transaction ↳ db/seeds.rb:124  (0.0ms) begin transaction ↳ db/seeds.rb:124 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:124  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["keyword", "New York"], ["created_at", "2019-01-19 08:01:17.297651"], ["updated_at", "2019-01-19 08:01:17.297651"]] ↳ db/seeds.rb:124  (0.6ms) commit transaction ↳ db/seeds.rb:124 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'sf%') ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:124 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:124  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["keyword", "San Francisco"], ["created_at", "2019-01-19 08:01:17.300577"], ["updated_at", "2019-01-19 08:01:17.300577"]] ↳ db/seeds.rb:124  (0.5ms) commit transaction ↳ db/seeds.rb:124  (0.0ms) begin transaction ↳ db/seeds.rb:124 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:124  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["keyword", "San Francisco"], ["created_at", "2019-01-19 08:01:17.302982"], ["updated_at", "2019-01-19 08:01:17.302982"]] ↳ db/seeds.rb:124  (0.6ms) commit transaction ↳ db/seeds.rb:124  (0.0ms) begin transaction ↳ db/seeds.rb:124 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:124  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["keyword", "San Francisco"], ["created_at", "2019-01-19 08:01:17.305425"], ["updated_at", "2019-01-19 08:01:17.305425"]] ↳ db/seeds.rb:124  (0.5ms) commit transaction ↳ db/seeds.rb:124 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_director"], ["name", "sf_director"]] ↳ db/seeds.rb:130  (0.0ms) begin transaction ↳ db/seeds.rb:130 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:130  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["keyword", "All"], ["created_at", "2019-01-19 08:01:17.308148"], ["updated_at", "2019-01-19 08:01:17.308148"]] ↳ db/seeds.rb:130  (0.7ms) commit transaction ↳ db/seeds.rb:130  (0.0ms) begin transaction ↳ db/seeds.rb:130 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:130  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["keyword", "All"], ["created_at", "2019-01-19 08:01:17.310702"], ["updated_at", "2019-01-19 08:01:17.310702"]] ↳ db/seeds.rb:130  (0.6ms) commit transaction ↳ db/seeds.rb:130 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_agent"], ["name", "sf_agent"]] ↳ db/seeds.rb:134  (0.0ms) begin transaction ↳ db/seeds.rb:134 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:134  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["keyword", "secret"], ["created_at", "2019-01-19 08:01:17.317790"], ["updated_at", "2019-01-19 08:01:17.317790"]] ↳ db/seeds.rb:134  (0.6ms) commit transaction ↳ db/seeds.rb:134  (0.0ms) begin transaction ↳ db/seeds.rb:134 Authz::ScopingRule Exists (0.4ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:134  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["keyword", "secret"], ["created_at", "2019-01-19 08:01:17.320728"], ["updated_at", "2019-01-19 08:01:17.320728"]] ↳ db/seeds.rb:134  (0.6ms) commit transaction ↳ db/seeds.rb:134 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE '%auditor%') ↳ db/seeds.rb:138  (0.0ms) begin transaction ↳ db/seeds.rb:138 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:138  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["keyword", "All"], ["created_at", "2019-01-19 08:01:17.323598"], ["updated_at", "2019-01-19 08:01:17.323598"]] ↳ db/seeds.rb:138  (0.6ms) commit transaction ↳ db/seeds.rb:138  (0.0ms) begin transaction ↳ db/seeds.rb:138 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:138  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["keyword", "All"], ["created_at", "2019-01-19 08:01:17.325927"], ["updated_at", "2019-01-19 08:01:17.325927"]] ↳ db/seeds.rb:138  (0.6ms) commit transaction ↳ db/seeds.rb:138  (0.0ms) begin transaction ↳ db/seeds.rb:143 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny and sf"], ["created_at", "2019-01-19 08:01:17.332042"], ["updated_at", "2019-01-19 08:01:17.332042"]] ↳ db/seeds.rb:143  (0.6ms) commit transaction ↳ db/seeds.rb:143  (0.0ms) begin transaction ↳ db/seeds.rb:144 AnnouncementCity Create (0.4ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 1], ["created_at", "2019-01-19 08:01:17.342524"], ["updated_at", "2019-01-19 08:01:17.342524"]] ↳ db/seeds.rb:144 AnnouncementCity Create (0.1ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 2], ["created_at", "2019-01-19 08:01:17.343769"], ["updated_at", "2019-01-19 08:01:17.343769"]] ↳ db/seeds.rb:144  (0.6ms) commit transaction ↳ db/seeds.rb:144  (0.0ms) begin transaction ↳ db/seeds.rb:146 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny"], ["created_at", "2019-01-19 08:01:17.345243"], ["updated_at", "2019-01-19 08:01:17.345243"]] ↳ db/seeds.rb:146  (0.4ms) commit transaction ↳ db/seeds.rb:146  (0.0ms) begin transaction ↳ db/seeds.rb:147 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["city_id", 1], ["created_at", "2019-01-19 08:01:17.347387"], ["updated_at", "2019-01-19 08:01:17.347387"]] ↳ db/seeds.rb:147  (0.6ms) commit transaction ↳ db/seeds.rb:147  (0.0ms) begin transaction ↳ db/seeds.rb:149 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for sf"], ["created_at", "2019-01-19 08:01:17.349062"], ["updated_at", "2019-01-19 08:01:17.349062"]] ↳ db/seeds.rb:149  (0.4ms) commit transaction ↳ db/seeds.rb:149  (0.0ms) begin transaction ↳ db/seeds.rb:150 AnnouncementCity Create (0.2ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 3], ["city_id", 2], ["created_at", "2019-01-19 08:01:17.350992"], ["updated_at", "2019-01-19 08:01:17.350992"]] ↳ db/seeds.rb:150  (0.6ms) commit transaction ↳ db/seeds.rb:150  (0.0ms) begin transaction ↳ db/seeds.rb:152 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for no one"], ["created_at", "2019-01-19 08:01:17.352532"], ["updated_at", "2019-01-19 08:01:17.352532"]] ↳ db/seeds.rb:152  (0.5ms) commit transaction ↳ db/seeds.rb:152  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 08:01:17.354874"], ["updated_at", "2019-01-19 08:01:17.354874"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 08:01:17.357190"], ["updated_at", "2019-01-19 08:01:17.357190"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 08:01:17.359387"], ["updated_at", "2019-01-19 08:01:17.359387"]] ↳ db/seeds.rb:160  (0.4ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.361324"], ["updated_at", "2019-01-19 08:01:17.361324"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 08:01:17.363493"], ["updated_at", "2019-01-19 08:01:17.363493"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 08:01:17.365706"], ["updated_at", "2019-01-19 08:01:17.365706"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 08:01:17.367834"], ["updated_at", "2019-01-19 08:01:17.367834"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:17.369882"], ["updated_at", "2019-01-19 08:01:17.369882"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 08:01:17.371884"], ["updated_at", "2019-01-19 08:01:17.371884"]] ↳ db/seeds.rb:160  (0.4ms) commit transaction ↳ db/seeds.rb:160  (0.1ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 08:01:17.373804"], ["updated_at", "2019-01-19 08:01:17.373804"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.376008"], ["updated_at", "2019-01-19 08:01:17.376008"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 08:01:17.378074"], ["updated_at", "2019-01-19 08:01:17.378074"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 08:01:17.380275"], ["updated_at", "2019-01-19 08:01:17.380275"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 08:01:17.382484"], ["updated_at", "2019-01-19 08:01:17.382484"]] ↳ db/seeds.rb:160  (0.4ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:17.384442"], ["updated_at", "2019-01-19 08:01:17.384442"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 08:01:17.386533"], ["updated_at", "2019-01-19 08:01:17.386533"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.388841"], ["updated_at", "2019-01-19 08:01:17.388841"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 08:01:17.390950"], ["updated_at", "2019-01-19 08:01:17.390950"]] ↳ db/seeds.rb:160  (0.4ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 08:01:17.392914"], ["updated_at", "2019-01-19 08:01:17.392914"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 08:01:17.395069"], ["updated_at", "2019-01-19 08:01:17.395069"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 08:01:17.397282"], ["updated_at", "2019-01-19 08:01:17.397282"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.399457"], ["updated_at", "2019-01-19 08:01:17.399457"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 08:01:17.401514"], ["updated_at", "2019-01-19 08:01:17.401514"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 08:01:17.403651"], ["updated_at", "2019-01-19 08:01:17.403651"]] ↳ db/seeds.rb:160  (0.4ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 08:01:17.405541"], ["updated_at", "2019-01-19 08:01:17.405541"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.1ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 08:01:17.407626"], ["updated_at", "2019-01-19 08:01:17.407626"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.409685"], ["updated_at", "2019-01-19 08:01:17.409685"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.411979"], ["updated_at", "2019-01-19 08:01:17.411979"]] ↳ db/seeds.rb:160  (0.7ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.414286"], ["updated_at", "2019-01-19 08:01:17.414286"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 08:01:17.416333"], ["updated_at", "2019-01-19 08:01:17.416333"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 08:01:17.418507"], ["updated_at", "2019-01-19 08:01:17.418507"]] ↳ db/seeds.rb:160  (0.7ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 08:01:17.420883"], ["updated_at", "2019-01-19 08:01:17.420883"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 08:01:17.423068"], ["updated_at", "2019-01-19 08:01:17.423068"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 08:01:17.425343"], ["updated_at", "2019-01-19 08:01:17.425343"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 08:01:17.427545"], ["updated_at", "2019-01-19 08:01:17.427545"]] ↳ db/seeds.rb:160  (0.5ms) commit transaction ↳ db/seeds.rb:160  (0.1ms) begin transaction ↳ db/seeds.rb:160 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:160 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 08:01:17.429591"], ["updated_at", "2019-01-19 08:01:17.429591"]] ↳ db/seeds.rb:160  (0.6ms) commit transaction ↳ db/seeds.rb:160  (0.0ms) begin transaction ↳ db/seeds.rb:167 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 08:01:17.432220"], ["updated_at", "2019-01-19 08:01:17.432220"]] ↳ db/seeds.rb:167  (0.5ms) commit transaction ↳ db/seeds.rb:167 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') ↳ db/seeds.rb:168  (0.0ms) begin transaction ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.435931"], ["updated_at", "2019-01-19 08:01:17.435931"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.437293"], ["updated_at", "2019-01-19 08:01:17.437293"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.438475"], ["updated_at", "2019-01-19 08:01:17.438475"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.439583"], ["updated_at", "2019-01-19 08:01:17.439583"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.440683"], ["updated_at", "2019-01-19 08:01:17.440683"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.441780"], ["updated_at", "2019-01-19 08:01:17.441780"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.442967"], ["updated_at", "2019-01-19 08:01:17.442967"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.444012"], ["updated_at", "2019-01-19 08:01:17.444012"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.445013"], ["updated_at", "2019-01-19 08:01:17.445013"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.446015"], ["updated_at", "2019-01-19 08:01:17.446015"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.446957"], ["updated_at", "2019-01-19 08:01:17.446957"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.447931"], ["updated_at", "2019-01-19 08:01:17.447931"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.449135"], ["updated_at", "2019-01-19 08:01:17.449135"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.450066"], ["updated_at", "2019-01-19 08:01:17.450066"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.451036"], ["updated_at", "2019-01-19 08:01:17.451036"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.452220"], ["updated_at", "2019-01-19 08:01:17.452220"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.455502"], ["updated_at", "2019-01-19 08:01:17.455502"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.457998"], ["updated_at", "2019-01-19 08:01:17.457998"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.459791"], ["updated_at", "2019-01-19 08:01:17.459791"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.461622"], ["updated_at", "2019-01-19 08:01:17.461622"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.463119"], ["updated_at", "2019-01-19 08:01:17.463119"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.464620"], ["updated_at", "2019-01-19 08:01:17.464620"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.466094"], ["updated_at", "2019-01-19 08:01:17.466094"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.467344"], ["updated_at", "2019-01-19 08:01:17.467344"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.468597"], ["updated_at", "2019-01-19 08:01:17.468597"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.469853"], ["updated_at", "2019-01-19 08:01:17.469853"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.471128"], ["updated_at", "2019-01-19 08:01:17.471128"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.472217"], ["updated_at", "2019-01-19 08:01:17.472217"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.473321"], ["updated_at", "2019-01-19 08:01:17.473321"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.474422"], ["updated_at", "2019-01-19 08:01:17.474422"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.475543"], ["updated_at", "2019-01-19 08:01:17.475543"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.476634"], ["updated_at", "2019-01-19 08:01:17.476634"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.477875"], ["updated_at", "2019-01-19 08:01:17.477875"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.478966"], ["updated_at", "2019-01-19 08:01:17.478966"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.480588"], ["updated_at", "2019-01-19 08:01:17.480588"]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:168 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:01:17.482158"], ["updated_at", "2019-01-19 08:01:17.482158"]] ↳ db/seeds.rb:168  (0.8ms) commit transaction ↳ db/seeds.rb:168  (0.0ms) begin transaction ↳ db/seeds.rb:171 Authz::Role Exists (0.2ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "auth_admin"], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Auth Admin"], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "auth_admin"], ["name", "Auth Admin"], ["description", "Auth Admin"], ["created_at", "2019-01-19 08:01:17.485203"], ["updated_at", "2019-01-19 08:01:17.485203"]] ↳ db/seeds.rb:171  (0.5ms) commit transaction ↳ db/seeds.rb:171  (0.0ms) begin transaction ↳ db/seeds.rb:172 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:172 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 8], ["created_at", "2019-01-19 08:01:17.488129"], ["updated_at", "2019-01-19 08:01:17.488129"]] ↳ db/seeds.rb:172  (0.7ms) commit transaction ↳ db/seeds.rb:172  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT sqlite_version(*) ↳ bin/rails:14  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ bin/rails:14  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14 Migrating to DeviseCreateUsers (20181128042315)  (0.1ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128042315_devise_create_users.rb:5  (0.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/migrate/20181128042315_devise_create_users.rb:39  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/migrate/20181128042315_devise_create_users.rb:40 ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128042315"]] ↳ bin/rails:14  (0.9ms) commit transaction ↳ bin/rails:14 Migrating to CreateClearances (20181128052541)  (0.1ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128052541_create_clearances.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128052541"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateCities (20181128063016)  (0.0ms) begin transaction ↳ bin/rails:14  (0.2ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128063016_create_cities.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128063016"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateReports (20181129002252)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c7699d537d" FOREIGN KEY ("user_id") REFERENCES "users" ("id") , CONSTRAINT "fk_rails_497347bc85" FOREIGN KEY ("clearance_id") REFERENCES "clearances" ("id") , CONSTRAINT "fk_rails_0e85997f50" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/migrate/20181129002252_create_reports.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129002252"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzControllerActions (20181129024103)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129024103_create_authz_controller_actions.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129024103"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzBusinessProcesses (20181129080058)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129080058_create_authz_business_processes.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129080058"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzBusinessProcessHasControllerActions (20181129091325)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9404d6fe94" FOREIGN KEY ("authz_controller_action_id") REFERENCES "authz_controller_actions" ("id") , CONSTRAINT "fk_rails_47fb2007ad" FOREIGN KEY ("authz_business_process_id") REFERENCES "authz_business_processes" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19  (0.1ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19  (0.1ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19 ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129091325"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoles (20181129131405)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129131405_create_authz_roles.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129131405"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoleHasBusinessProcesses (20181129220317)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9e1f75159f" FOREIGN KEY ("authz_business_process_id") REFERENCES "authz_business_processes" ("id") , CONSTRAINT "fk_rails_97ef17aa6c" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3  (0.1ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3  (0.1ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129220317"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoleGrants (20181130053841)  (0.1ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3615802f3" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3  (0.1ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3  (0.1ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181130053841"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzScopingRules (20190102030242)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_3035be893e" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190102030242"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateRatings (20190103083513)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9a416b320a" FOREIGN KEY ("report_id") REFERENCES "reports" ("id") , CONSTRAINT "fk_rails_a7dfeb9f5f" FOREIGN KEY ("user_id") REFERENCES "users" ("id") ) ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/migrate/20190103083513_create_ratings.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190103083513"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateAnnouncements (20190104075934)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20190104075934_create_announcements.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104075934"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAnnouncementCities (20190104080155)  (0.0ms) begin transaction ↳ bin/rails:14  (0.4ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_f0ac4e0571" FOREIGN KEY ("announcement_id") REFERENCES "announcements" ("id") , CONSTRAINT "fk_rails_6562be5dd7" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104080155"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.1ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 08:02:21.254887"], ["updated_at", "2019-01-19 08:02:21.254887"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$FEtgITF7kL//E3bu9H.ATe1w/s34LXVSL2RprjfCL4LZvbpHt40le"], ["created_at", "2019-01-19 08:02:27.922138"], ["updated_at", "2019-01-19 08:02:27.922138"]] ↳ db/seeds.rb:3  (1.2ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$sz21VnrHdOAznbJz5dFUcOlj/X8S.etgG65tUAeowptSiw45az2dG"], ["created_at", "2019-01-19 08:02:28.014585"], ["updated_at", "2019-01-19 08:02:28.014585"]] ↳ db/seeds.rb:4  (1.2ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$17pYXJKwpS8vO0Q/5lsD8.eb4fb.wu7WAtZWSRKutjsRxW28N28Bi"], ["created_at", "2019-01-19 08:02:28.108087"], ["updated_at", "2019-01-19 08:02:28.108087"]] ↳ db/seeds.rb:5  (0.9ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$TaLP5Qg87QcT.e.kcjw2seqwaRvGiw.6NU43HfxHoVuz0aeRkvZ0e"], ["created_at", "2019-01-19 08:02:28.201338"], ["updated_at", "2019-01-19 08:02:28.201338"]] ↳ db/seeds.rb:6  (0.9ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$BfXQJlLTgRsVzTTgqWao0.Iw9igY2SborIj3HD2.a2Xa0DKP2Ct3G"], ["created_at", "2019-01-19 08:02:28.301701"], ["updated_at", "2019-01-19 08:02:28.301701"]] ↳ db/seeds.rb:7  (0.5ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$uo1ysvws4Ayi8lQgiteux.kmtj8HirMJyeNaQU4Igt1u9l2y.mq9K"], ["created_at", "2019-01-19 08:02:28.392032"], ["updated_at", "2019-01-19 08:02:28.392032"]] ↳ db/seeds.rb:8  (1.2ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$Nayp9aMA4nXF0UGnIG1I2OevYDaDc.u2LbsSIVxthoFi7YhSZXOOS"], ["created_at", "2019-01-19 08:02:28.481336"], ["updated_at", "2019-01-19 08:02:28.481336"]] ↳ db/seeds.rb:9  (1.0ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.7ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 08:02:28.493258"], ["updated_at", "2019-01-19 08:02:28.493258"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 08:02:28.496137"], ["updated_at", "2019-01-19 08:02:28.496137"]] ↳ db/seeds.rb:14  (0.7ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.3ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 08:02:28.506819"], ["updated_at", "2019-01-19 08:02:28.506819"]] ↳ db/seeds.rb:18  (0.5ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 08:02:28.513326"], ["updated_at", "2019-01-19 08:02:28.513326"]] ↳ db/seeds.rb:19  (0.6ms) commit transaction ↳ db/seeds.rb:19  (0.1ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.8ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Et libero aliquid dignissimos."], ["body", "Quasi et quam. Laborum non animi. Non rerum animi."], ["created_at", "2019-01-19 08:02:29.052868"], ["updated_at", "2019-01-19 08:02:29.052868"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.1ms) begin transaction ↳ db/seeds.rb:27 Rating Create (1.1ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:02:29.064673"], ["updated_at", "2019-01-19 08:02:29.064673"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:02:29.067317"], ["updated_at", "2019-01-19 08:02:29.067317"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.5ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Officiis velit praesentium quis."], ["body", "Saepe unde velit. Id rerum non. Minus et expedita."], ["created_at", "2019-01-19 08:02:29.069423"], ["updated_at", "2019-01-19 08:02:29.069423"]] ↳ db/seeds.rb:29  (0.4ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 08:02:29.071353"], ["updated_at", "2019-01-19 08:02:29.071353"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:02:29.073016"], ["updated_at", "2019-01-19 08:02:29.073016"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Eum quos temporibus occaecati."], ["body", "A porro qui. Facilis quia omnis. Ab earum neque."], ["created_at", "2019-01-19 08:02:29.074899"], ["updated_at", "2019-01-19 08:02:29.074899"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:02:29.076820"], ["updated_at", "2019-01-19 08:02:29.076820"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 08:02:29.078506"], ["updated_at", "2019-01-19 08:02:29.078506"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Recusandae saepe sed qui."], ["body", "Dolores rerum fugiat. Nihil voluptatibus enim. Facere autem voluptate."], ["created_at", "2019-01-19 08:02:29.080410"], ["updated_at", "2019-01-19 08:02:29.080410"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 08:02:29.082298"], ["updated_at", "2019-01-19 08:02:29.082298"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:02:29.084108"], ["updated_at", "2019-01-19 08:02:29.084108"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Nobis velit esse corporis."], ["body", "Earum est eligendi. Enim eius occaecati. Quod dolorum rerum."], ["created_at", "2019-01-19 08:02:29.086185"], ["updated_at", "2019-01-19 08:02:29.086185"]] ↳ db/seeds.rb:25  (0.4ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 08:02:29.087963"], ["updated_at", "2019-01-19 08:02:29.087963"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 08:02:29.089563"], ["updated_at", "2019-01-19 08:02:29.089563"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Rem aut porro dicta."], ["body", "Dolorem tenetur ea. Similique quod rerum. Labore vero ullam."], ["created_at", "2019-01-19 08:02:29.091413"], ["updated_at", "2019-01-19 08:02:29.091413"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:02:29.093177"], ["updated_at", "2019-01-19 08:02:29.093177"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 08:02:29.095072"], ["updated_at", "2019-01-19 08:02:29.095072"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Soluta in cupiditate voluptatem."], ["body", "Tempore sit mollitia. Molestias culpa exercitationem. Facere quod molestiae."], ["created_at", "2019-01-19 08:02:29.097190"], ["updated_at", "2019-01-19 08:02:29.097190"]] ↳ db/seeds.rb:25  (0.4ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 08:02:29.098917"], ["updated_at", "2019-01-19 08:02:29.098917"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 08:02:29.100899"], ["updated_at", "2019-01-19 08:02:29.100899"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Itaque asperiores est atque."], ["body", "Et in vel. Voluptatem nostrum ad. Occaecati maxime debitis."], ["created_at", "2019-01-19 08:02:29.102872"], ["updated_at", "2019-01-19 08:02:29.102872"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:02:29.104965"], ["updated_at", "2019-01-19 08:02:29.104965"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 08:02:29.106626"], ["updated_at", "2019-01-19 08:02:29.106626"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Veniam incidunt assumenda ex."], ["body", "Exercitationem praesentium quam. Sequi libero autem. Et officia animi."], ["created_at", "2019-01-19 08:02:29.108532"], ["updated_at", "2019-01-19 08:02:29.108532"]] ↳ db/seeds.rb:25  (0.4ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 08:02:29.110254"], ["updated_at", "2019-01-19 08:02:29.110254"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 08:02:29.112210"], ["updated_at", "2019-01-19 08:02:29.112210"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Delectus necessitatibus totam non."], ["body", "Consequuntur repudiandae repellendus. Provident est at. Saepe reiciendis consequuntur."], ["created_at", "2019-01-19 08:02:29.114210"], ["updated_at", "2019-01-19 08:02:29.114210"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 08:02:29.116272"], ["updated_at", "2019-01-19 08:02:29.116272"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 08:02:29.117982"], ["updated_at", "2019-01-19 08:02:29.117982"]] ↳ db/seeds.rb:31  (0.4ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Aut illum dolorum sed."], ["body", "Ex perspiciatis corporis. Autem quos omnis. Dolorem non dolores."], ["created_at", "2019-01-19 08:02:29.119852"], ["updated_at", "2019-01-19 08:02:29.119852"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:02:29.121603"], ["updated_at", "2019-01-19 08:02:29.121603"]] ↳ db/seeds.rb:39  (0.3ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 08:02:29.123057"], ["updated_at", "2019-01-19 08:02:29.123057"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptates omnis aut error."], ["body", "Recusandae velit eveniet. Non totam deserunt. Praesentium veniam modi."], ["created_at", "2019-01-19 08:02:29.124887"], ["updated_at", "2019-01-19 08:02:29.124887"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:02:29.126731"], ["updated_at", "2019-01-19 08:02:29.126731"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:02:29.128347"], ["updated_at", "2019-01-19 08:02:29.128347"]] ↳ db/seeds.rb:43  (0.8ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Voluptas excepturi nobis adipisci."], ["body", "Inventore non officia. Porro itaque voluptas. Ratione nesciunt animi."], ["created_at", "2019-01-19 08:02:29.130581"], ["updated_at", "2019-01-19 08:02:29.130581"]] ↳ db/seeds.rb:37  (0.4ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:02:29.132315"], ["updated_at", "2019-01-19 08:02:29.132315"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:02:29.134067"], ["updated_at", "2019-01-19 08:02:29.134067"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Dignissimos autem voluptas fuga."], ["body", "Delectus assumenda qui. Neque consequatur quia. Ut et aut."], ["created_at", "2019-01-19 08:02:29.136124"], ["updated_at", "2019-01-19 08:02:29.136124"]] ↳ db/seeds.rb:41  (0.4ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:02:29.137851"], ["updated_at", "2019-01-19 08:02:29.137851"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:02:29.139548"], ["updated_at", "2019-01-19 08:02:29.139548"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Et iusto tenetur in."], ["body", "Hic et amet. Aut doloremque dolorem. Sit fuga deserunt."], ["created_at", "2019-01-19 08:02:29.141372"], ["updated_at", "2019-01-19 08:02:29.141372"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 08:02:29.143071"], ["updated_at", "2019-01-19 08:02:29.143071"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:02:29.144648"], ["updated_at", "2019-01-19 08:02:29.144648"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Qui soluta adipisci placeat."], ["body", "Nesciunt itaque eius. Tempora ullam quisquam. Ut cupiditate mollitia."], ["created_at", "2019-01-19 08:02:29.146405"], ["updated_at", "2019-01-19 08:02:29.146405"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:02:29.148019"], ["updated_at", "2019-01-19 08:02:29.148019"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:02:29.149618"], ["updated_at", "2019-01-19 08:02:29.149618"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Molestias cupiditate voluptatum ea."], ["body", "Occaecati beatae enim. Iure tempore eos. Consequuntur quam facilis."], ["created_at", "2019-01-19 08:02:29.151574"], ["updated_at", "2019-01-19 08:02:29.151574"]] ↳ db/seeds.rb:37  (0.4ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 08:02:29.153406"], ["updated_at", "2019-01-19 08:02:29.153406"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:02:29.155275"], ["updated_at", "2019-01-19 08:02:29.155275"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Laborum sed dolorem quia."], ["body", "Dicta vitae debitis. Ducimus et assumenda. Voluptas ipsum eos."], ["created_at", "2019-01-19 08:02:29.157225"], ["updated_at", "2019-01-19 08:02:29.157225"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 08:02:29.159026"], ["updated_at", "2019-01-19 08:02:29.159026"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:02:29.160570"], ["updated_at", "2019-01-19 08:02:29.160570"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Eligendi necessitatibus incidunt repudiandae."], ["body", "Enim odit minima. Quibusdam quod sit. Eum aliquid vero."], ["created_at", "2019-01-19 08:02:29.162371"], ["updated_at", "2019-01-19 08:02:29.162371"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:02:29.164114"], ["updated_at", "2019-01-19 08:02:29.164114"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:02:29.165654"], ["updated_at", "2019-01-19 08:02:29.165654"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Ad itaque saepe voluptatibus."], ["body", "Nihil maiores doloremque. Quas sit similique. Aliquid id doloremque."], ["created_at", "2019-01-19 08:02:29.167419"], ["updated_at", "2019-01-19 08:02:29.167419"]] ↳ db/seeds.rb:41  (0.4ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:02:29.168961"], ["updated_at", "2019-01-19 08:02:29.168961"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:02:29.170695"], ["updated_at", "2019-01-19 08:02:29.170695"]] ↳ db/seeds.rb:43  (0.4ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Voluptatem libero rem nihil."], ["body", "Tempora vel beatae. Est blanditiis voluptas. Molestias culpa nemo."], ["created_at", "2019-01-19 08:02:29.172754"], ["updated_at", "2019-01-19 08:02:29.172754"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:02:29.174803"], ["updated_at", "2019-01-19 08:02:29.174803"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:02:29.176380"], ["updated_at", "2019-01-19 08:02:29.176380"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "In voluptas et ex."], ["body", "Vero suscipit dolor. Deserunt iste nostrum. Velit perspiciatis quo."], ["created_at", "2019-01-19 08:02:29.178187"], ["updated_at", "2019-01-19 08:02:29.178187"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:02:29.179821"], ["updated_at", "2019-01-19 08:02:29.179821"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 08:02:29.181398"], ["updated_at", "2019-01-19 08:02:29.181398"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Nulla ea laudantium ut."], ["body", "In tempora eos. Praesentium in possimus. Temporibus ut eaque."], ["created_at", "2019-01-19 08:02:29.183518"], ["updated_at", "2019-01-19 08:02:29.183518"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:02:29.185278"], ["updated_at", "2019-01-19 08:02:29.185278"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:02:29.186824"], ["updated_at", "2019-01-19 08:02:29.186824"]] ↳ db/seeds.rb:48  (0.4ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Ab dolores facilis sed."], ["body", "Doloremque sed quia. Voluptate alias doloremque. Eligendi sed iusto."], ["created_at", "2019-01-19 08:02:29.188570"], ["updated_at", "2019-01-19 08:02:29.188570"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:02:29.190361"], ["updated_at", "2019-01-19 08:02:29.190361"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:02:29.192385"], ["updated_at", "2019-01-19 08:02:29.192385"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Magni est enim et."], ["body", "Occaecati quas aspernatur. Id eaque distinctio. Commodi sunt sit."], ["created_at", "2019-01-19 08:02:29.194389"], ["updated_at", "2019-01-19 08:02:29.194389"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:02:29.196235"], ["updated_at", "2019-01-19 08:02:29.196235"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:02:29.197894"], ["updated_at", "2019-01-19 08:02:29.197894"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Consequatur impedit ea ut."], ["body", "Et qui quia. In exercitationem voluptatum. Facere dignissimos numquam."], ["created_at", "2019-01-19 08:02:29.199697"], ["updated_at", "2019-01-19 08:02:29.199697"]] ↳ db/seeds.rb:50  (0.4ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 08:02:29.201235"], ["updated_at", "2019-01-19 08:02:29.201235"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:02:29.202794"], ["updated_at", "2019-01-19 08:02:29.202794"]] ↳ db/seeds.rb:52  (0.4ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Sit adipisci ut sint."], ["body", "Possimus eius natus. Numquam et et. A vero qui."], ["created_at", "2019-01-19 08:02:29.204476"], ["updated_at", "2019-01-19 08:02:29.204476"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:02:29.206191"], ["updated_at", "2019-01-19 08:02:29.206191"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 08:02:29.207926"], ["updated_at", "2019-01-19 08:02:29.207926"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Natus autem est est."], ["body", "Molestiae et quia. Magnam aliquid libero. At voluptas unde."], ["created_at", "2019-01-19 08:02:29.209949"], ["updated_at", "2019-01-19 08:02:29.209949"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 08:02:29.212126"], ["updated_at", "2019-01-19 08:02:29.212126"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:02:29.214285"], ["updated_at", "2019-01-19 08:02:29.214285"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Sit quo quae dicta."], ["body", "Laboriosam sint incidunt. Consequatur dolor iste. Earum autem et."], ["created_at", "2019-01-19 08:02:29.216495"], ["updated_at", "2019-01-19 08:02:29.216495"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 08:02:29.218603"], ["updated_at", "2019-01-19 08:02:29.218603"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 08:02:29.220301"], ["updated_at", "2019-01-19 08:02:29.220301"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Et reiciendis ex quis."], ["body", "Debitis hic dolore. Suscipit qui omnis. Maxime unde ut."], ["created_at", "2019-01-19 08:02:29.222189"], ["updated_at", "2019-01-19 08:02:29.222189"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 08:02:29.223981"], ["updated_at", "2019-01-19 08:02:29.223981"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 08:02:29.225701"], ["updated_at", "2019-01-19 08:02:29.225701"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "properties"], ["created_at", "2019-01-19 08:02:29.231672"], ["updated_at", "2019-01-19 08:02:29.231672"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "routes"], ["created_at", "2019-01-19 08:02:29.234280"], ["updated_at", "2019-01-19 08:02:29.234280"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.236493"], ["updated_at", "2019-01-19 08:02:29.236493"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/mailers"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.238401"], ["updated_at", "2019-01-19 08:02:29.238401"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "visitors"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.240658"], ["updated_at", "2019-01-19 08:02:29.240658"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.242749"], ["updated_at", "2019-01-19 08:02:29.242749"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.245308"], ["updated_at", "2019-01-19 08:02:29.245308"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.247797"], ["updated_at", "2019-01-19 08:02:29.247797"]] ↳ db/seeds.rb:63  (0.8ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.252460"], ["updated_at", "2019-01-19 08:02:29.252460"]] ↳ db/seeds.rb:63  (1.0ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.257065"], ["updated_at", "2019-01-19 08:02:29.257065"]] ↳ db/seeds.rb:63  (0.8ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.260597"], ["updated_at", "2019-01-19 08:02:29.260597"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.263509"], ["updated_at", "2019-01-19 08:02:29.263509"]] ↳ db/seeds.rb:63  (0.8ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "cancel"], ["created_at", "2019-01-19 08:02:29.267229"], ["updated_at", "2019-01-19 08:02:29.267229"]] ↳ db/seeds.rb:63  (0.9ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.270946"], ["updated_at", "2019-01-19 08:02:29.270946"]] ↳ db/seeds.rb:63  (1.0ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.274911"], ["updated_at", "2019-01-19 08:02:29.274911"]] ↳ db/seeds.rb:63  (0.8ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.278245"], ["updated_at", "2019-01-19 08:02:29.278245"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.281143"], ["updated_at", "2019-01-19 08:02:29.281143"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.284219"], ["updated_at", "2019-01-19 08:02:29.284219"]] ↳ db/seeds.rb:63  (0.9ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.288754"], ["updated_at", "2019-01-19 08:02:29.288754"]] ↳ db/seeds.rb:63  (1.0ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.292568"], ["updated_at", "2019-01-19 08:02:29.292568"]] ↳ db/seeds.rb:63  (1.0ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.296599"], ["updated_at", "2019-01-19 08:02:29.296599"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.299846"], ["updated_at", "2019-01-19 08:02:29.299846"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "show"], ["created_at", "2019-01-19 08:02:29.302845"], ["updated_at", "2019-01-19 08:02:29.302845"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.305786"], ["updated_at", "2019-01-19 08:02:29.305786"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.308425"], ["updated_at", "2019-01-19 08:02:29.308425"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.311244"], ["updated_at", "2019-01-19 08:02:29.311244"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.313607"], ["updated_at", "2019-01-19 08:02:29.313607"]] ↳ db/seeds.rb:63  (0.7ms) [36mcommit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.316234"], ["updated_at", "2019-01-19 08:02:29.316234"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.318233"], ["updated_at", "2019-01-19 08:02:29.318233"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.320421"], ["updated_at", "2019-01-19 08:02:29.320421"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.322479"], ["updated_at", "2019-01-19 08:02:29.322479"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.324351"], ["updated_at", "2019-01-19 08:02:29.324351"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.326462"], ["updated_at", "2019-01-19 08:02:29.326462"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.328805"], ["updated_at", "2019-01-19 08:02:29.328805"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.330903"], ["updated_at", "2019-01-19 08:02:29.330903"]] ↳ db/seeds.rb:63  (1.0ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.333416"], ["updated_at", "2019-01-19 08:02:29.333416"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.335573"], ["updated_at", "2019-01-19 08:02:29.335573"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.337756"], ["updated_at", "2019-01-19 08:02:29.337756"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.339879"], ["updated_at", "2019-01-19 08:02:29.339879"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.341786"], ["updated_at", "2019-01-19 08:02:29.341786"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.343747"], ["updated_at", "2019-01-19 08:02:29.343747"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/disk"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.346012"], ["updated_at", "2019-01-19 08:02:29.346012"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/direct_uploads"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.348232"], ["updated_at", "2019-01-19 08:02:29.348232"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/welcome"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.350533"], ["updated_at", "2019-01-19 08:02:29.350533"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.2ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_clearances"], ["name", "View clearances"], ["description", "View clearances"], ["created_at", "2019-01-19 08:02:29.407742"], ["updated_at", "2019-01-19 08:02:29.407742"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "clearances"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.5ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.8ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["created_at", "2019-01-19 08:02:29.434716"], ["updated_at", "2019-01-19 08:02:29.434716"]] ↳ db/seeds.rb:84  (0.8ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_clearances"], ["name", "Manage clearances"], ["description", "Manage clearances"], ["created_at", "2019-01-19 08:02:29.438720"], ["updated_at", "2019-01-19 08:02:29.438720"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "clearances"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.5ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:02:29.442183"], ["updated_at", "2019-01-19 08:02:29.442183"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:02:29.445000"], ["updated_at", "2019-01-19 08:02:29.445000"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:02:29.447025"], ["updated_at", "2019-01-19 08:02:29.447025"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:02:29.448865"], ["updated_at", "2019-01-19 08:02:29.448865"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:02:29.450307"], ["updated_at", "2019-01-19 08:02:29.450307"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["created_at", "2019-01-19 08:02:29.451759"], ["updated_at", "2019-01-19 08:02:29.451759"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_cities"], ["name", "View cities"], ["description", "View cities"], ["created_at", "2019-01-19 08:02:29.454680"], ["updated_at", "2019-01-19 08:02:29.454680"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "cities"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["created_at", "2019-01-19 08:02:29.458493"], ["updated_at", "2019-01-19 08:02:29.458493"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_cities"], ["name", "Manage cities"], ["description", "Manage cities"], ["created_at", "2019-01-19 08:02:29.461188"], ["updated_at", "2019-01-19 08:02:29.461188"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "cities"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:02:29.465427"], ["updated_at", "2019-01-19 08:02:29.465427"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:02:29.467258"], ["updated_at", "2019-01-19 08:02:29.467258"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:02:29.468544"], ["updated_at", "2019-01-19 08:02:29.468544"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:02:29.469821"], ["updated_at", "2019-01-19 08:02:29.469821"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:02:29.471019"], ["updated_at", "2019-01-19 08:02:29.471019"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["created_at", "2019-01-19 08:02:29.472253"], ["updated_at", "2019-01-19 08:02:29.472253"]] ↳ db/seeds.rb:84  (0.8ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_reports"], ["name", "View reports"], ["description", "View reports"], ["created_at", "2019-01-19 08:02:29.475505"], ["updated_at", "2019-01-19 08:02:29.475505"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "reports"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["created_at", "2019-01-19 08:02:29.479843"], ["updated_at", "2019-01-19 08:02:29.479843"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["created_at", "2019-01-19 08:02:29.481454"], ["updated_at", "2019-01-19 08:02:29.481454"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_reports"], ["name", "Manage reports"], ["description", "Manage reports"], ["created_at", "2019-01-19 08:02:29.483960"], ["updated_at", "2019-01-19 08:02:29.483960"]] ↳ db/seeds.rb:76  (0.9ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "reports"]] ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.4ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:02:29.489525"], ["updated_at", "2019-01-19 08:02:29.489525"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:02:29.491770"], ["updated_at", "2019-01-19 08:02:29.491770"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:02:29.493301"], ["updated_at", "2019-01-19 08:02:29.493301"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:02:29.494777"], ["updated_at", "2019-01-19 08:02:29.494777"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:02:29.496204"], ["updated_at", "2019-01-19 08:02:29.496204"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:02:29.497532"], ["updated_at", "2019-01-19 08:02:29.497532"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["created_at", "2019-01-19 08:02:29.498747"], ["updated_at", "2019-01-19 08:02:29.498747"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_announcements"], ["name", "View announcements"], ["description", "View announcements"], ["created_at", "2019-01-19 08:02:29.502256"], ["updated_at", "2019-01-19 08:02:29.502256"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "announcements"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["created_at", "2019-01-19 08:02:29.506656"], ["updated_at", "2019-01-19 08:02:29.506656"]] ↳ db/seeds.rb:84  (0.8ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_announcements"], ["name", "Manage announcements"], ["description", "Manage announcements"], ["created_at", "2019-01-19 08:02:29.509907"], ["updated_at", "2019-01-19 08:02:29.509907"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "announcements"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:02:29.513202"], ["updated_at", "2019-01-19 08:02:29.513202"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:02:29.514872"], ["updated_at", "2019-01-19 08:02:29.514872"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:02:29.516024"], ["updated_at", "2019-01-19 08:02:29.516024"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["created_at", "2019-01-19 08:02:29.517119"], ["updated_at", "2019-01-19 08:02:29.517119"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.6ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "general_director"], ["name", "general_director"], ["description", "general_director"], ["created_at", "2019-01-19 08:02:29.525172"], ["updated_at", "2019-01-19 08:02:29.525172"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.7ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (2.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.539961"], ["updated_at", "2019-01-19 08:02:29.539961"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.545681"], ["updated_at", "2019-01-19 08:02:29.545681"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.547759"], ["updated_at", "2019-01-19 08:02:29.547759"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.549624"], ["updated_at", "2019-01-19 08:02:29.549624"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.551197"], ["updated_at", "2019-01-19 08:02:29.551197"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.552755"], ["updated_at", "2019-01-19 08:02:29.552755"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.554310"], ["updated_at", "2019-01-19 08:02:29.554310"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 1], ["created_at", "2019-01-19 08:02:29.555741"], ["updated_at", "2019-01-19 08:02:29.555741"]] ↳ db/seeds.rb:103  (0.9ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.6ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (1.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 08:02:29.571732"], ["updated_at", "2019-01-19 08:02:29.571732"]] ↳ db/seeds.rb:106  (0.8ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_director"], ["name", "ny_director"], ["description", "ny_director"], ["created_at", "2019-01-19 08:02:29.576322"], ["updated_at", "2019-01-19 08:02:29.576322"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.579777"], ["updated_at", "2019-01-19 08:02:29.579777"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.581094"], ["updated_at", "2019-01-19 08:02:29.581094"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.583580"], ["updated_at", "2019-01-19 08:02:29.583580"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.585377"], ["updated_at", "2019-01-19 08:02:29.585377"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.586877"], ["updated_at", "2019-01-19 08:02:29.586877"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.588378"], ["updated_at", "2019-01-19 08:02:29.588378"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.589601"], ["updated_at", "2019-01-19 08:02:29.589601"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 2], ["created_at", "2019-01-19 08:02:29.590851"], ["updated_at", "2019-01-19 08:02:29.590851"]] ↳ db/seeds.rb:103  (1.2ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.5ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["created_at", "2019-01-19 08:02:29.596887"], ["updated_at", "2019-01-19 08:02:29.596887"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_director"], ["name", "sf_director"], ["description", "sf_director"], ["created_at", "2019-01-19 08:02:29.600799"], ["updated_at", "2019-01-19 08:02:29.600799"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.604918"], ["updated_at", "2019-01-19 08:02:29.604918"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.606671"], ["updated_at", "2019-01-19 08:02:29.606671"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.607931"], ["updated_at", "2019-01-19 08:02:29.607931"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.609227"], ["updated_at", "2019-01-19 08:02:29.609227"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.610492"], ["updated_at", "2019-01-19 08:02:29.610492"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.611629"], ["updated_at", "2019-01-19 08:02:29.611629"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.612744"], ["updated_at", "2019-01-19 08:02:29.612744"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 3], ["created_at", "2019-01-19 08:02:29.613964"], ["updated_at", "2019-01-19 08:02:29.613964"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["created_at", "2019-01-19 08:02:29.616715"], ["updated_at", "2019-01-19 08:02:29.616715"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_agent"], ["name", "ny_agent"], ["description", "ny_agent"], ["created_at", "2019-01-19 08:02:29.619362"], ["updated_at", "2019-01-19 08:02:29.619362"]] ↳ db/seeds.rb:95  (0.4ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.622254"], ["updated_at", "2019-01-19 08:02:29.622254"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.623498"], ["updated_at", "2019-01-19 08:02:29.623498"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.624530"], ["updated_at", "2019-01-19 08:02:29.624530"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.625533"], ["updated_at", "2019-01-19 08:02:29.625533"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.626717"], ["updated_at", "2019-01-19 08:02:29.626717"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.627845"], ["updated_at", "2019-01-19 08:02:29.627845"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.628959"], ["updated_at", "2019-01-19 08:02:29.628959"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 4], ["created_at", "2019-01-19 08:02:29.629991"], ["updated_at", "2019-01-19 08:02:29.629991"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["created_at", "2019-01-19 08:02:29.632631"], ["updated_at", "2019-01-19 08:02:29.632631"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_agent"], ["name", "sf_agent"], ["description", "sf_agent"], ["created_at", "2019-01-19 08:02:29.635027"], ["updated_at", "2019-01-19 08:02:29.635027"]] ↳ db/seeds.rb:95  (0.4ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.637781"], ["updated_at", "2019-01-19 08:02:29.637781"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.639285"], ["updated_at", "2019-01-19 08:02:29.639285"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.640593"], ["updated_at", "2019-01-19 08:02:29.640593"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.641875"], ["updated_at", "2019-01-19 08:02:29.641875"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.642989"], ["updated_at", "2019-01-19 08:02:29.642989"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.644066"], ["updated_at", "2019-01-19 08:02:29.644066"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.645568"], ["updated_at", "2019-01-19 08:02:29.645568"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 5], ["created_at", "2019-01-19 08:02:29.647335"], ["updated_at", "2019-01-19 08:02:29.647335"]] ↳ db/seeds.rb:103  (0.8ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.4ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["created_at", "2019-01-19 08:02:29.651630"], ["updated_at", "2019-01-19 08:02:29.651630"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_auditor"], ["name", "ny_auditor"], ["description", "ny_auditor"], ["created_at", "2019-01-19 08:02:29.654972"], ["updated_at", "2019-01-19 08:02:29.654972"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 6], ["created_at", "2019-01-19 08:02:29.658528"], ["updated_at", "2019-01-19 08:02:29.658528"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 6], ["created_at", "2019-01-19 08:02:29.660288"], ["updated_at", "2019-01-19 08:02:29.660288"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 6], ["created_at", "2019-01-19 08:02:29.661643"], ["updated_at", "2019-01-19 08:02:29.661643"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 6], ["created_at", "2019-01-19 08:02:29.662836"], ["updated_at", "2019-01-19 08:02:29.662836"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["created_at", "2019-01-19 08:02:29.666551"], ["updated_at", "2019-01-19 08:02:29.666551"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.1ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_auditor"], ["name", "sf_auditor"], ["description", "sf_auditor"], ["created_at", "2019-01-19 08:02:29.669346"], ["updated_at", "2019-01-19 08:02:29.669346"]] ↳ db/seeds.rb:95  (0.4ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 7], ["created_at", "2019-01-19 08:02:29.672332"], ["updated_at", "2019-01-19 08:02:29.672332"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 7], ["created_at", "2019-01-19 08:02:29.673682"], ["updated_at", "2019-01-19 08:02:29.673682"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 7], ["created_at", "2019-01-19 08:02:29.674803"], ["updated_at", "2019-01-19 08:02:29.674803"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 7], ["created_at", "2019-01-19 08:02:29.676523"], ["updated_at", "2019-01-19 08:02:29.676523"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["created_at", "2019-01-19 08:02:29.679402"], ["updated_at", "2019-01-19 08:02:29.679402"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:113  (0.0ms) begin transaction ↳ db/seeds.rb:114 Authz::ScopingRule Exists (0.6ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:114  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.9ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 08:02:29.688762"], ["updated_at", "2019-01-19 08:02:29.688762"]] ↳ db/seeds.rb:114  (0.6ms) commit transaction ↳ db/seeds.rb:114  (0.0ms) begin transaction ↳ db/seeds.rb:115 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:115  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 08:02:29.692231"], ["updated_at", "2019-01-19 08:02:29.692231"]] ↳ db/seeds.rb:115  (0.5ms) commit transaction ↳ db/seeds.rb:115 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'ny%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["keyword", "New York"], ["created_at", "2019-01-19 08:02:29.694911"], ["updated_at", "2019-01-19 08:02:29.694911"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["keyword", "New York"], ["created_at", "2019-01-19 08:02:29.697332"], ["updated_at", "2019-01-19 08:02:29.697332"]] ↳ db/seeds.rb:123  (0.5ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["keyword", "New York"], ["created_at", "2019-01-19 08:02:29.699541"], ["updated_at", "2019-01-19 08:02:29.699541"]] ↳ db/seeds.rb:123  (0.5ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'sf%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["keyword", "San Francisco"], ["created_at", "2019-01-19 08:02:29.702249"], ["updated_at", "2019-01-19 08:02:29.702249"]] ↳ db/seeds.rb:123  (0.5ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["keyword", "San Francisco"], ["created_at", "2019-01-19 08:02:29.704538"], ["updated_at", "2019-01-19 08:02:29.704538"]] ↳ db/seeds.rb:123  (0.7ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["keyword", "San Francisco"], ["created_at", "2019-01-19 08:02:29.706912"], ["updated_at", "2019-01-19 08:02:29.706912"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_director"], ["name", "sf_director"]] ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["keyword", "All"], ["created_at", "2019-01-19 08:02:29.709682"], ["updated_at", "2019-01-19 08:02:29.709682"]] ↳ db/seeds.rb:129  (0.5ms) commit transaction ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["keyword", "All"], ["created_at", "2019-01-19 08:02:29.712063"], ["updated_at", "2019-01-19 08:02:29.712063"]] ↳ db/seeds.rb:129  (0.6ms) commit transaction ↳ db/seeds.rb:129 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_agent"], ["name", "sf_agent"]] ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["keyword", "secret"], ["created_at", "2019-01-19 08:02:29.714986"], ["updated_at", "2019-01-19 08:02:29.714986"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["keyword", "secret"], ["created_at", "2019-01-19 08:02:29.721223"], ["updated_at", "2019-01-19 08:02:29.721223"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE '%auditor%') ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["keyword", "All"], ["created_at", "2019-01-19 08:02:29.724114"], ["updated_at", "2019-01-19 08:02:29.724114"]] ↳ db/seeds.rb:137  (0.6ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["keyword", "All"], ["created_at", "2019-01-19 08:02:29.726644"], ["updated_at", "2019-01-19 08:02:29.726644"]] ↳ db/seeds.rb:137  (0.4ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:142 Announcement Create (0.6ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny and sf"], ["created_at", "2019-01-19 08:02:29.732733"], ["updated_at", "2019-01-19 08:02:29.732733"]] ↳ db/seeds.rb:142  (0.6ms) commit transaction ↳ db/seeds.rb:142  (0.0ms) begin transaction ↳ db/seeds.rb:143 AnnouncementCity Create (1.0ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 1], ["created_at", "2019-01-19 08:02:29.743168"], ["updated_at", "2019-01-19 08:02:29.743168"]] ↳ db/seeds.rb:143 AnnouncementCity Create (0.1ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 2], ["created_at", "2019-01-19 08:02:29.745466"], ["updated_at", "2019-01-19 08:02:29.745466"]] ↳ db/seeds.rb:143  (0.6ms) commit transaction ↳ db/seeds.rb:143  (0.0ms) begin transaction ↳ db/seeds.rb:145 Announcement Create (0.3ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny"], ["created_at", "2019-01-19 08:02:29.747059"], ["updated_at", "2019-01-19 08:02:29.747059"]] ↳ db/seeds.rb:145  (0.5ms) commit transaction ↳ db/seeds.rb:145  (0.0ms) begin transaction ↳ db/seeds.rb:146 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["city_id", 1], ["created_at", "2019-01-19 08:02:29.749218"], ["updated_at", "2019-01-19 08:02:29.749218"]] ↳ db/seeds.rb:146  (0.5ms) commit transaction ↳ db/seeds.rb:146  (0.0ms) begin transaction ↳ db/seeds.rb:148 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for sf"], ["created_at", "2019-01-19 08:02:29.750689"], ["updated_at", "2019-01-19 08:02:29.750689"]] ↳ db/seeds.rb:148  (0.5ms) commit transaction ↳ db/seeds.rb:148  (0.0ms) begin transaction ↳ db/seeds.rb:149 AnnouncementCity Create (0.2ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 3], ["city_id", 2], ["created_at", "2019-01-19 08:02:29.752560"], ["updated_at", "2019-01-19 08:02:29.752560"]] ↳ db/seeds.rb:149  (0.4ms) commit transaction ↳ db/seeds.rb:149  (0.0ms) begin transaction ↳ db/seeds.rb:151 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for no one"], ["created_at", "2019-01-19 08:02:29.753903"], ["updated_at", "2019-01-19 08:02:29.753903"]] ↳ db/seeds.rb:151  (0.6ms) commit transaction ↳ db/seeds.rb:151  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.756429"], ["updated_at", "2019-01-19 08:02:29.756429"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.758733"], ["updated_at", "2019-01-19 08:02:29.758733"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.760676"], ["updated_at", "2019-01-19 08:02:29.760676"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.762623"], ["updated_at", "2019-01-19 08:02:29.762623"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.764458"], ["updated_at", "2019-01-19 08:02:29.764458"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 08:02:29.766610"], ["updated_at", "2019-01-19 08:02:29.766610"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.768742"], ["updated_at", "2019-01-19 08:02:29.768742"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.770877"], ["updated_at", "2019-01-19 08:02:29.770877"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.772745"], ["updated_at", "2019-01-19 08:02:29.772745"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.774697"], ["updated_at", "2019-01-19 08:02:29.774697"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.776666"], ["updated_at", "2019-01-19 08:02:29.776666"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.778744"], ["updated_at", "2019-01-19 08:02:29.778744"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 08:02:29.780833"], ["updated_at", "2019-01-19 08:02:29.780833"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.782858"], ["updated_at", "2019-01-19 08:02:29.782858"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.785588"], ["updated_at", "2019-01-19 08:02:29.785588"]] ↳ db/seeds.rb:159  (0.8ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.789201"], ["updated_at", "2019-01-19 08:02:29.789201"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.791821"], ["updated_at", "2019-01-19 08:02:29.791821"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.794201"], ["updated_at", "2019-01-19 08:02:29.794201"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.796406"], ["updated_at", "2019-01-19 08:02:29.796406"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.798444"], ["updated_at", "2019-01-19 08:02:29.798444"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 08:02:29.800505"], ["updated_at", "2019-01-19 08:02:29.800505"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.803022"], ["updated_at", "2019-01-19 08:02:29.803022"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.805251"], ["updated_at", "2019-01-19 08:02:29.805251"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 08:02:29.807117"], ["updated_at", "2019-01-19 08:02:29.807117"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.808868"], ["updated_at", "2019-01-19 08:02:29.808868"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 08:02:29.811002"], ["updated_at", "2019-01-19 08:02:29.811002"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.813478"], ["updated_at", "2019-01-19 08:02:29.813478"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.815524"], ["updated_at", "2019-01-19 08:02:29.815524"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.817534"], ["updated_at", "2019-01-19 08:02:29.817534"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.819953"], ["updated_at", "2019-01-19 08:02:29.819953"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 08:02:29.822593"], ["updated_at", "2019-01-19 08:02:29.822593"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.825167"], ["updated_at", "2019-01-19 08:02:29.825167"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 08:02:29.827374"], ["updated_at", "2019-01-19 08:02:29.827374"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 08:02:29.829386"], ["updated_at", "2019-01-19 08:02:29.829386"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 08:02:29.831315"], ["updated_at", "2019-01-19 08:02:29.831315"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 08:02:29.833185"], ["updated_at", "2019-01-19 08:02:29.833185"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 08:02:29.835569"], ["updated_at", "2019-01-19 08:02:29.835569"]] ↳ db/seeds.rb:166  (0.5ms) commit transaction ↳ db/seeds.rb:166 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.838954"], ["updated_at", "2019-01-19 08:02:29.838954"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.840228"], ["updated_at", "2019-01-19 08:02:29.840228"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.841276"], ["updated_at", "2019-01-19 08:02:29.841276"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.842411"], ["updated_at", "2019-01-19 08:02:29.842411"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.843440"], ["updated_at", "2019-01-19 08:02:29.843440"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.844479"], ["updated_at", "2019-01-19 08:02:29.844479"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.845660"], ["updated_at", "2019-01-19 08:02:29.845660"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.846710"], ["updated_at", "2019-01-19 08:02:29.846710"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.847753"], ["updated_at", "2019-01-19 08:02:29.847753"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.848750"], ["updated_at", "2019-01-19 08:02:29.848750"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.849790"], ["updated_at", "2019-01-19 08:02:29.849790"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.850846"], ["updated_at", "2019-01-19 08:02:29.850846"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.851872"], ["updated_at", "2019-01-19 08:02:29.851872"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.852963"], ["updated_at", "2019-01-19 08:02:29.852963"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.853975"], ["updated_at", "2019-01-19 08:02:29.853975"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.855022"], ["updated_at", "2019-01-19 08:02:29.855022"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.856050"], ["updated_at", "2019-01-19 08:02:29.856050"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.857091"], ["updated_at", "2019-01-19 08:02:29.857091"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.858173"], ["updated_at", "2019-01-19 08:02:29.858173"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.859207"], ["updated_at", "2019-01-19 08:02:29.859207"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.860294"], ["updated_at", "2019-01-19 08:02:29.860294"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.861359"], ["updated_at", "2019-01-19 08:02:29.861359"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.862434"], ["updated_at", "2019-01-19 08:02:29.862434"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.863493"], ["updated_at", "2019-01-19 08:02:29.863493"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.864473"], ["updated_at", "2019-01-19 08:02:29.864473"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.865428"], ["updated_at", "2019-01-19 08:02:29.865428"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.866378"], ["updated_at", "2019-01-19 08:02:29.866378"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.867338"], ["updated_at", "2019-01-19 08:02:29.867338"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.868294"], ["updated_at", "2019-01-19 08:02:29.868294"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.869234"], ["updated_at", "2019-01-19 08:02:29.869234"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.870185"], ["updated_at", "2019-01-19 08:02:29.870185"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.871114"], ["updated_at", "2019-01-19 08:02:29.871114"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.872060"], ["updated_at", "2019-01-19 08:02:29.872060"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.873073"], ["updated_at", "2019-01-19 08:02:29.873073"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.874066"], ["updated_at", "2019-01-19 08:02:29.874066"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 08:02:29.875030"], ["updated_at", "2019-01-19 08:02:29.875030"]] ↳ db/seeds.rb:167  (0.7ms) commit transaction ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:170 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "auth_admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Auth Admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "auth_admin"], ["name", "Auth Admin"], ["description", "Auth Admin"], ["created_at", "2019-01-19 08:02:29.877270"], ["updated_at", "2019-01-19 08:02:29.877270"]] ↳ db/seeds.rb:170  (0.5ms) commit transaction ↳ db/seeds.rb:170  (0.0ms) begin transaction ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 8], ["created_at", "2019-01-19 08:02:29.879722"], ["updated_at", "2019-01-19 08:02:29.879722"]] ↳ db/seeds.rb:171  (0.7ms) commit transaction ↳ db/seeds.rb:171  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.1ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 08:02:45.775430"], ["updated_at", "2019-01-19 08:02:45.775430"]] ↳ db/schema.rb:13  (0.9ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.5ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 08:02:45.781133"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (1.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.0ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.6ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.8ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 09:28:19.538980"], ["updated_at", "2019-01-19 09:28:19.538980"]] ↳ db/schema.rb:13  (0.4ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 09:28:19.542331"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Started GET "/authz/" for 127.0.0.1 at 2019-01-19 20:32:03 +1100  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12 Completed 401 Unauthorized in 23ms (ActiveRecord: 0.9ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-19 20:32:09 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (18.5ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 553ms (Views: 550.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-19 20:32:21 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KObUg5Av3Fj4u6QGhMYCOpiA6bRoHJLADLlv0NpbwIXcldyP5RKMyPjlLNKWw10f52rWhnnnW4UQC68W1m5ILQ==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/authz/ Completed 302 Found in 125ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-19 20:32:21 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Authz::Role Load (0.4ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.5ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 44ms (ActiveRecord: 2.8ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started POST "/authz/__better_errors/070a4821895aa3a2/variables" for 127.0.0.1 at 2019-01-19 20:32:21 +1100 Started GET "/authz" for 127.0.0.1 at 2019-01-19 21:41:50 +1100  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Authz::Role Load (0.6ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (3.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 74ms (ActiveRecord: 5.6ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started POST "/authz/__better_errors/3592dcca67d6f0f7/variables" for 127.0.0.1 at 2019-01-19 21:41:56 +1100 Started POST "/authz/__better_errors/3592dcca67d6f0f7/eval" for 127.0.0.1 at 2019-01-19 21:42:19 +1100 Started GET "/authz" for 127.0.0.1 at 2019-01-19 22:43:51 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Authz::Role Load (0.5ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 75ms (ActiveRecord: 4.0ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started POST "/authz/__better_errors/4ec98c5f2dd0af0a/variables" for 127.0.0.1 at 2019-01-19 22:43:56 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-19 22:45:38 +1100  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Authz::Role Load (0.8ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 549192ms (ActiveRecord: 4.1ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started GET "/authz/" for 127.0.0.1 at 2019-01-19 23:10:43 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:12  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Authz::Role Load (0.7ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:135 Completed 500 Internal Server Error in 372585ms (ActiveRecord: 3.7ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started GET "/" for 127.0.0.1 at 2019-01-19 23:22:16 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (7.1ms) User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.5ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (62.0ms) Rendered layouts/_flash.html.slim (2.3ms) Completed 200 OK in 535ms (Views: 528.4ms | ActiveRecord: 4.4ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-19 23:22:22 +1100 Processing by Devise::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 528ms (ActiveRecord: 0.2ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-19 23:22:22 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.7ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.8ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.6ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (247.4ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.9ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 328ms (Views: 277.7ms | ActiveRecord: 8.4ms) Started DELETE "/users/sign_out" for 127.0.0.1 at 2019-01-19 23:22:25 +1100 Processing by Devise::SessionsController#destroy as HTML Parameters: {"authenticity_token"=>"OwAZbvB2j2iXHn5WRJ5Cd2krNiBo8pmjP8bWZgQwEL+mnIxLJ8tt7TkehNNPz8De6Zf6Q8XnQbkC4QfN+T6vig=="} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2019-01-19 23:22:25 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.7ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 30ms (Views: 28.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-19 23:22:26 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.9ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (17.2ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 54ms (Views: 52.2ms | ActiveRecord: 0.0ms)  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (1.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.0ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.9ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.8ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.1ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 13:09:54.801620"], ["updated_at", "2019-01-19 13:09:54.801620"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 13:09:54.805767"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.5ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.8ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.5ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.9ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (1.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 13:10:30.150567"], ["updated_at", "2019-01-19 13:10:30.150567"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 13:10:30.154091"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.4ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (1.0ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.3ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (1.4ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.8ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.8ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 13:13:48.804982"], ["updated_at", "2019-01-19 13:13:48.804982"]] ↳ db/schema.rb:13  (0.7ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 13:13:48.809258"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 00:20:24 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (6.5ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 57ms (Views: 50.0ms | ActiveRecord: 0.5ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 00:20:42 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (6.3ms) Rendered layouts/_flash.html.slim (2.1ms) Completed 200 OK in 44ms (Views: 43.3ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2019-01-20 00:46:21 +1100  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (6.9ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 473ms (Views: 470.7ms | ActiveRecord: 0.0ms)  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.2ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.1ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.1ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.9ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (1.5ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.2ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (1.2ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (1.1ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (1.1ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (1.0ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.2ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (1.0ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.8ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (1.4ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.2ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (1.2ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (1.4ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.9ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.2ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (1.0ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.2ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (1.0ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.9ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.9ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.9ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (1.2ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (1.0ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (1.0ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.2ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.9ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.1ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 13:51:37.536452"], ["updated_at", "2019-01-19 13:51:37.536452"]] ↳ db/schema.rb:13  (0.9ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 13:51:37.541292"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (1.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.6ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.5ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 14:09:35.885540"], ["updated_at", "2019-01-19 14:09:35.885540"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 14:09:35.893232"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.5ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.6ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (1.1ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 14:09:55.459297"], ["updated_at", "2019-01-19 14:09:55.459297"]] ↳ db/schema.rb:13  (0.7ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (4.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 14:09:55.467703"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Started GET "/" for 127.0.0.1 at 2019-01-20 01:13:49 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (7.5ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 467ms (Views: 464.7ms | ActiveRecord: 0.0ms) Started GET "/authz" for 127.0.0.1 at 2019-01-20 01:13:54 +1100 Processing by Authz::HomeController#index as HTML Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 01:13:55 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (1.2ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (20.7ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 70ms (Views: 61.6ms | ActiveRecord: 0.5ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 01:14:51 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5oNOgz6bM9Qn05MMCmFIzIECu3QzWkr+TE9ejmr/Bn+kynks1EHpwZinoIATdSsY2FncjrwEiWcJxq3lwtkpbg==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/authz/ Completed 302 Found in 134ms (ActiveRecord: 0.8ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:14:51 +1100 Processing by Authz::HomeController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:11  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.9ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.7ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 90ms (ActiveRecord: 4.6ms) Authz::Controllers::AuthorizationManager::NotAuthorized - User 1 does not have a role that allows him to authz/home#index: Started POST "/authz/__better_errors/37cf6292672a0484/variables" for 127.0.0.1 at 2019-01-20 01:14:51 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:17:59 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:11  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 33ms (ActiveRecord: 1.0ms) NoMethodError - undefined method `current_pirate' for # Did you mean? current_user: Started POST "/authz/__better_errors/8e3874648d2c9719/variables" for 127.0.0.1 at 2019-01-20 01:18:04 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:19:18 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/application_controller.rb:11  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.8ms) NoMethodError - undefined method `current_pirate' for # Did you mean? current_user: Started POST "/authz/__better_errors/5e8538c439727335/variables" for 127.0.0.1 at 2019-01-20 01:19:23 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 01:43:42 +1100  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (7.6ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.6ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (2.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (75.9ms) Rendered layouts/_flash.html.slim (2.2ms) Completed 200 OK in 576ms (Views: 569.3ms | ActiveRecord: 5.3ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 01:43:52 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.4ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (2.1ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.6ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (190.1ms) Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.6ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 255ms (Views: 219.9ms | ActiveRecord: 8.8ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 01:44:11 +1100  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by ReportsController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.7ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (2.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.5ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.4ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.4ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.3ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.3ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (2148.4ms) Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.7ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (163.1ms) Rendered layouts/_flash.html.slim (96.0ms) Completed 200 OK in 3726ms (Views: 3463.6ms | ActiveRecord: 28.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:44:24 +1100 Processing by Authz::HomeController#index as HTML Completed 500 Internal Server Error in 279ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `authenticate_pirate!' for # Did you mean? authenticate_user!: Started POST "/authz/__better_errors/860fed90af034a44/variables" for 127.0.0.1 at 2019-01-20 01:44:24 +1100 Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:44:30 +1100 Processing by AnnouncementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (1.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.6ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.3ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.3ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.3ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (267.3ms) Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (155.7ms) Rendered layouts/_flash.html.slim (96.8ms) Completed 200 OK in 805ms (Views: 759.6ms | ActiveRecord: 7.0ms) Started DELETE "/users/sign_out" for 127.0.0.1 at 2019-01-20 01:44:33 +1100 Processing by Devise::SessionsController#destroy as HTML Parameters: {"authenticity_token"=>"S/SOSgeTAc5gc04U3tV7WQ7+hBR/RzJdaauw/vjn8bbqqSvcz/Vlq9/ou47RqBewWaaB+8TmGgXJIv5hEXICnA=="} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/ Completed 302 Found in 6904ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2019-01-20 01:44:40 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (104.7ms) Rendered layouts/_flash.html.slim (100.1ms) Completed 200 OK in 462ms (Views: 457.5ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 01:45:13 +1100  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (2.1ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (9354.2ms) Rendered layouts/_flash.html.slim (18.3ms) Completed 200 OK in 10377ms (Views: 10354.6ms | ActiveRecord: 1.1ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 01:45:50 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XD28UJ0gqIzpM3+DRWoPBaLAiO2GSsPpiILJmlBcuawCZrTbHp1fZpCN/laDwUimrj70W18TZJNcrWM58/nUTA==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 196ms (ActiveRecord: 0.8ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-20 01:45:51 +1100 Processing by ReportsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (2.0ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (2.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.4ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.5ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.2ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.4ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (1959.2ms) Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (96.4ms) Rendered layouts/_flash.html.slim (20.4ms) Completed 200 OK in 250727ms (Views: 2240.5ms | ActiveRecord: 27.6ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:50:13 +1100 Processing by Authz::HomeController#index as HTML Completed 500 Internal Server Error in 280ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `authenticate_pirate!' for # Did you mean? authenticate_user!: Started POST "/authz/__better_errors/8f70145b66d9b73c/variables" for 127.0.0.1 at 2019-01-20 01:50:14 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:08 +1100 Processing by Authz::HomeController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (1.5ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.9ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 30654ms (ActiveRecord: 8.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:39 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:39 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 28ms (ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 27ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:40 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 28ms (ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 31ms (ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 44ms (ActiveRecord: 1.3ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 29ms (ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 27ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:41 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:46 +1100 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 31ms (ActiveRecord: 1.3ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:46 +1100 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 28ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 27ms (ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 27ms (ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 25ms (ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 30ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 28ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 26ms (ActiveRecord: 1.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:51:56 +1100  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 53ms (ActiveRecord: 1.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:01 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:14 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:15 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:15 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:15 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:15 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:15 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:15 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:15 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:52:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2019-01-20 01:52:59 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (8.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (23.3ms) Rendered layouts/_flash.html.slim (2.4ms) Completed 200 OK in 462ms (Views: 458.3ms | ActiveRecord: 0.9ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 01:53:04 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (236.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (10.0ms) Rendered layouts/_flash.html.slim (2.6ms) Completed 200 OK in 311ms (Views: 283.1ms | ActiveRecord: 6.6ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:56:34 +1100 Processing by Authz::HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/reports Completed 302 Found in 32ms (ActiveRecord: 1.8ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 01:56:34 +1100 Processing by ReportsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (266.4ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (10.9ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 343ms (Views: 313.5ms | ActiveRecord: 7.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:56:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/reports Completed 302 Found in 28ms (ActiveRecord: 1.4ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 01:56:48 +1100 Processing by ReportsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (408.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.5ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 466ms (Views: 437.9ms | ActiveRecord: 9.0ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:56:57 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (1.2ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.3ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (29.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.8ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 86ms (Views: 68.2ms | ActiveRecord: 4.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:56:58 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/announcements Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:56:58 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (15.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.8ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 55ms (Views: 47.3ms | ActiveRecord: 1.6ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:57:14 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/announcements Completed 302 Found in 55ms (ActiveRecord: 2.0ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:57:18 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (38.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (12.9ms) Rendered layouts/_flash.html.slim (2.4ms) Completed 200 OK in 483ms (Views: 461.5ms | ActiveRecord: 3.1ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:57:19 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (11.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.4ms) Rendered layouts/_flash.html.slim (2.0ms) Completed 200 OK in 53ms (Views: 45.4ms | ActiveRecord: 1.7ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 01:57:27 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.3ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.2ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (227.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.6ms) Rendered layouts/_flash.html.slim (2.6ms) Completed 200 OK in 298ms (Views: 279.5ms | ActiveRecord: 5.6ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:57:29 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (13.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.7ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 57ms (Views: 48.8ms | ActiveRecord: 1.9ms) Started GET "/cities" for 127.0.0.1 at 2019-01-20 01:57:31 +1100 Processing by CitiesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering cities/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 City Load (0.1ms) SELECT "cities".* FROM "cities" ↳ app/views/cities/index.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered cities/index.html.slim within layouts/application (9.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.5ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 50ms (Views: 42.6ms | ActiveRecord: 1.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:57:33 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/cities Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/cities" for 127.0.0.1 at 2019-01-20 01:57:33 +1100 Processing by CitiesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering cities/index.html.slim within layouts/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 City Load (0.1ms) SELECT "cities".* FROM "cities" ↳ app/views/cities/index.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered cities/index.html.slim within layouts/application (8.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.7ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 48ms (Views: 41.8ms | ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2019-01-20 01:57:52 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (7.1ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 49ms (Views: 46.6ms | ActiveRecord: 0.7ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:57:55 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2019-01-20 01:57:55 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.3ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.7ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:57:58 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (12.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.8ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 52ms (Views: 44.7ms | ActiveRecord: 1.7ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:57:59 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/announcements Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:58:00 +1100 Processing by AnnouncementsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (12.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.1ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 51ms (Views: 45.0ms | ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2019-01-20 01:58:14 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.1ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 50ms (Views: 47.8ms | ActiveRecord: 0.8ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:58:19 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (12.7ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.7ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 53ms (Views: 45.2ms | ActiveRecord: 1.8ms) Started GET "/cities" for 127.0.0.1 at 2019-01-20 01:59:14 +1100 Processing by CitiesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering cities/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 City Load (0.1ms) SELECT "cities".* FROM "cities" ↳ app/views/cities/index.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered cities/index.html.slim within layouts/application (9.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.9ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 50ms (Views: 42.2ms | ActiveRecord: 1.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:59:16 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/cities Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/cities" for 127.0.0.1 at 2019-01-20 01:59:16 +1100 Processing by CitiesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering cities/index.html.slim within layouts/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 City Load (0.1ms) SELECT "cities".* FROM "cities" ↳ app/views/cities/index.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered cities/index.html.slim within layouts/application (8.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.5ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 46ms (Views: 39.8ms | ActiveRecord: 1.3ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:59:21 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (19.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.9ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 60ms (Views: 51.6ms | ActiveRecord: 1.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 01:59:23 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/announcements Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:59:23 +1100 Processing by AnnouncementsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (11.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.3ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 50ms (Views: 43.4ms | ActiveRecord: 1.6ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 01:59:38 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (13.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.5ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 55ms (Views: 48.3ms | ActiveRecord: 1.8ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 02:01:36 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (151.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.7ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 201ms (Views: 191.5ms | ActiveRecord: 3.9ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 02:01:37 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (12.6ms) Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.2ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 66ms (Views: 57.4ms | ActiveRecord: 2.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 02:01:38 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/announcements Completed 302 Found in 8ms (ActiveRecord: 0.8ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 02:01:38 +1100 Processing by AnnouncementsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (12.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.7ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 50ms (Views: 43.7ms | ActiveRecord: 1.6ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 02:02:00 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (13.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.7ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 55ms (Views: 46.9ms | ActiveRecord: 1.9ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 02:02:02 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (151.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.7ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 192ms (Views: 180.9ms | ActiveRecord: 4.3ms)  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (8.6ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (1.1ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (1.2ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.9ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.9ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.9ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.9ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.2ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (1.0ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.9ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.2ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (1.0ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.8ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.8ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.8ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.8ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 15:04:23.968532"], ["updated_at", "2019-01-19 15:04:23.968532"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4  (0.0ms) commit transaction ↳ bin/rails:4  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.7ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.6ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.5ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.5ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.8ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 15:04:24.016400"], ["updated_at", "2019-01-19 15:04:24.016400"]] ↳ db/schema.rb:13  (0.4ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 15:04:24.018275"], ["key", "environment"]] ↳ bin/rails:4  (0.5ms) commit transaction ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$XBp5IqlTvOekHkgR9fhRGej9kyKOEJtnUUWIh19hD5XbwhKuxxIU."], ["created_at", "2019-01-19 15:04:24.131849"], ["updated_at", "2019-01-19 15:04:24.131849"]] ↳ db/seeds.rb:3  (1.2ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$QPV7bIiU4YPnv6prM9/4W..Tfc20/ZxssPwuIsWhOfa2GXTClqWc2"], ["created_at", "2019-01-19 15:04:24.228453"], ["updated_at", "2019-01-19 15:04:24.228453"]] ↳ db/seeds.rb:4  (1.2ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$0Mt1F6HGPd6SvbqZ0cJ.dOqAF7CcctENs56uITl6sL8LMqgnwVZ1y"], ["created_at", "2019-01-19 15:04:24.320442"], ["updated_at", "2019-01-19 15:04:24.320442"]] ↳ db/seeds.rb:5  (1.7ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$7oxoj478Q.XdinqmiBeKNOwLDvvAZMHeDjYH1VzpT0dOkUpGUh8l6"], ["created_at", "2019-01-19 15:04:24.419534"], ["updated_at", "2019-01-19 15:04:24.419534"]] ↳ db/seeds.rb:6  (1.2ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$yP318wl7ZPMn0E1.39Wll.7kdzi7lZROHAlnZsMrsHEA0cHZPz9U6"], ["created_at", "2019-01-19 15:04:24.509806"], ["updated_at", "2019-01-19 15:04:24.509806"]] ↳ db/seeds.rb:7  (1.1ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$SMDhUASgS3YhVnrYu6DUu.jfMQydF03bonnGlLkFAPD700XWmt6oa"], ["created_at", "2019-01-19 15:04:24.607651"], ["updated_at", "2019-01-19 15:04:24.607651"]] ↳ db/seeds.rb:8  (1.2ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$gR/hJtPFF74cfoLLF/Qz7u44GH2BoT3ooxLVyK5yuc/reKByPjtVK"], ["created_at", "2019-01-19 15:04:24.703214"], ["updated_at", "2019-01-19 15:04:24.703214"]] ↳ db/seeds.rb:9  (1.2ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 15:04:24.714875"], ["updated_at", "2019-01-19 15:04:24.714875"]] ↳ db/seeds.rb:13  (0.7ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 15:04:24.717422"], ["updated_at", "2019-01-19 15:04:24.717422"]] ↳ db/seeds.rb:14  (0.4ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.6ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 15:04:24.727261"], ["updated_at", "2019-01-19 15:04:24.727261"]] ↳ db/seeds.rb:18  (0.6ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 15:04:24.730520"], ["updated_at", "2019-01-19 15:04:24.730520"]] ↳ db/seeds.rb:19  (0.5ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Voluptates et labore aut."], ["body", "Ex quas tenetur. Ut modi delectus. Eos omnis in."], ["created_at", "2019-01-19 15:04:25.265969"], ["updated_at", "2019-01-19 15:04:25.265969"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 15:04:25.276288"], ["updated_at", "2019-01-19 15:04:25.276288"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:04:25.278201"], ["updated_at", "2019-01-19 15:04:25.278201"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quis itaque quasi non."], ["body", "Officia sed mollitia. Laudantium porro et. At ut ratione."], ["created_at", "2019-01-19 15:04:25.280300"], ["updated_at", "2019-01-19 15:04:25.280300"]] ↳ db/seeds.rb:29  (0.9ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 15:04:25.282511"], ["updated_at", "2019-01-19 15:04:25.282511"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:04:25.284308"], ["updated_at", "2019-01-19 15:04:25.284308"]] ↳ db/seeds.rb:31  (0.8ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Debitis libero at excepturi."], ["body", "Maxime consectetur enim. Voluptas excepturi magni. Dolores illum sint."], ["created_at", "2019-01-19 15:04:25.286451"], ["updated_at", "2019-01-19 15:04:25.286451"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:04:25.288494"], ["updated_at", "2019-01-19 15:04:25.288494"]] ↳ db/seeds.rb:27  (0.8ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 15:04:25.290621"], ["updated_at", "2019-01-19 15:04:25.290621"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Vel laudantium commodi cumque."], ["body", "Cupiditate placeat recusandae. Rerum aliquid minima. Pariatur modi dolor."], ["created_at", "2019-01-19 15:04:25.292728"], ["updated_at", "2019-01-19 15:04:25.292728"]] ↳ db/seeds.rb:29  (0.8ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 15:04:25.294912"], ["updated_at", "2019-01-19 15:04:25.294912"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:04:25.296780"], ["updated_at", "2019-01-19 15:04:25.296780"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Ipsum qui voluptatem et."], ["body", "Possimus doloremque dolorem. Veritatis et ullam. Molestiae aliquam et."], ["created_at", "2019-01-19 15:04:25.298940"], ["updated_at", "2019-01-19 15:04:25.298940"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:04:25.300826"], ["updated_at", "2019-01-19 15:04:25.300826"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:04:25.302597"], ["updated_at", "2019-01-19 15:04:25.302597"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Ipsum temporibus quis provident."], ["body", "Est minima possimus. Optio maiores repellat. Pariatur sed velit."], ["created_at", "2019-01-19 15:04:25.304627"], ["updated_at", "2019-01-19 15:04:25.304627"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 15:04:25.306446"], ["updated_at", "2019-01-19 15:04:25.306446"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 15:04:25.308134"], ["updated_at", "2019-01-19 15:04:25.308134"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Alias minima ullam non."], ["body", "Sunt harum vel. Perspiciatis qui inventore. Vero reprehenderit debitis."], ["created_at", "2019-01-19 15:04:25.310242"], ["updated_at", "2019-01-19 15:04:25.310242"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:04:25.312206"], ["updated_at", "2019-01-19 15:04:25.312206"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:04:25.314036"], ["updated_at", "2019-01-19 15:04:25.314036"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Modi corporis consectetur fuga."], ["body", "Voluptas aliquid enim. Sed autem quidem. Ipsa deleniti ducimus."], ["created_at", "2019-01-19 15:04:25.316150"], ["updated_at", "2019-01-19 15:04:25.316150"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:04:25.318205"], ["updated_at", "2019-01-19 15:04:25.318205"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 15:04:25.319972"], ["updated_at", "2019-01-19 15:04:25.319972"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Tempore impedit harum omnis."], ["body", "Reprehenderit quam corporis. Enim maiores itaque. Est expedita autem."], ["created_at", "2019-01-19 15:04:25.322109"], ["updated_at", "2019-01-19 15:04:25.322109"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:04:25.324017"], ["updated_at", "2019-01-19 15:04:25.324017"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:04:25.325754"], ["updated_at", "2019-01-19 15:04:25.325754"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Vitae ab porro autem."], ["body", "Fuga consequatur blanditiis. Aliquid facere perferendis. Sed voluptatem dolores."], ["created_at", "2019-01-19 15:04:25.327895"], ["updated_at", "2019-01-19 15:04:25.327895"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 15:04:25.329843"], ["updated_at", "2019-01-19 15:04:25.329843"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 15:04:25.331670"], ["updated_at", "2019-01-19 15:04:25.331670"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Temporibus ea rerum eius."], ["body", "Modi corporis facilis. Amet dolores sit. Aut non assumenda."], ["created_at", "2019-01-19 15:04:25.333745"], ["updated_at", "2019-01-19 15:04:25.333745"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:04:25.335592"], ["updated_at", "2019-01-19 15:04:25.335592"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.1ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:04:25.337330"], ["updated_at", "2019-01-19 15:04:25.337330"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Nulla consectetur architecto consequuntur."], ["body", "Voluptates voluptas eveniet. Dolores porro molestiae. Aut esse qui."], ["created_at", "2019-01-19 15:04:25.339230"], ["updated_at", "2019-01-19 15:04:25.339230"]] ↳ db/seeds.rb:41  (0.8ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:04:25.341151"], ["updated_at", "2019-01-19 15:04:25.341151"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:04:25.342978"], ["updated_at", "2019-01-19 15:04:25.342978"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Voluptatem expedita ad eaque."], ["body", "Quasi voluptate iure. Et exercitationem error. Tempore nobis placeat."], ["created_at", "2019-01-19 15:04:25.344942"], ["updated_at", "2019-01-19 15:04:25.344942"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:04:25.346889"], ["updated_at", "2019-01-19 15:04:25.346889"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 15:04:25.348707"], ["updated_at", "2019-01-19 15:04:25.348707"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Autem quod voluptatem ut."], ["body", "Mollitia veritatis fugiat. Ipsa possimus nihil. Aliquam eveniet aut."], ["created_at", "2019-01-19 15:04:25.350633"], ["updated_at", "2019-01-19 15:04:25.350633"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:04:25.352374"], ["updated_at", "2019-01-19 15:04:25.352374"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:04:25.354147"], ["updated_at", "2019-01-19 15:04:25.354147"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Quisquam aut ullam est."], ["body", "Id culpa non. Adipisci fuga itaque. Ab quisquam provident."], ["created_at", "2019-01-19 15:04:25.356167"], ["updated_at", "2019-01-19 15:04:25.356167"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:04:25.357970"], ["updated_at", "2019-01-19 15:04:25.357970"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:04:25.359625"], ["updated_at", "2019-01-19 15:04:25.359625"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Aut in vitae voluptatem."], ["body", "Voluptatem sed velit. Commodi nihil accusamus. Inventore unde quasi."], ["created_at", "2019-01-19 15:04:25.361516"], ["updated_at", "2019-01-19 15:04:25.361516"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.1ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:04:25.363927"], ["updated_at", "2019-01-19 15:04:25.363927"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:04:25.365662"], ["updated_at", "2019-01-19 15:04:25.365662"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Quia sit quidem maxime."], ["body", "Et aperiam vel. Libero et doloremque. Quia doloribus fuga."], ["created_at", "2019-01-19 15:04:25.367575"], ["updated_at", "2019-01-19 15:04:25.367575"]] ↳ db/seeds.rb:37  (0.5ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:04:25.369240"], ["updated_at", "2019-01-19 15:04:25.369240"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:04:25.370913"], ["updated_at", "2019-01-19 15:04:25.370913"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Quo architecto voluptatibus eos."], ["body", "Id error provident. Soluta occaecati laboriosam. Qui ratione autem."], ["created_at", "2019-01-19 15:04:25.372787"], ["updated_at", "2019-01-19 15:04:25.372787"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.1ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:04:25.374969"], ["updated_at", "2019-01-19 15:04:25.374969"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:04:25.376671"], ["updated_at", "2019-01-19 15:04:25.376671"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nostrum fugiat alias eius."], ["body", "Deleniti aspernatur rerum. Sequi ut veniam. Ullam velit quaerat."], ["created_at", "2019-01-19 15:04:25.378641"], ["updated_at", "2019-01-19 15:04:25.378641"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:04:25.380374"], ["updated_at", "2019-01-19 15:04:25.380374"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:04:25.382021"], ["updated_at", "2019-01-19 15:04:25.382021"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Enim et voluptatum perspiciatis."], ["body", "Deserunt ratione ipsam. Similique itaque non. Est repellendus ea."], ["created_at", "2019-01-19 15:04:25.383940"], ["updated_at", "2019-01-19 15:04:25.383940"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.1ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:04:25.386022"], ["updated_at", "2019-01-19 15:04:25.386022"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:04:25.387629"], ["updated_at", "2019-01-19 15:04:25.387629"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Ab soluta quas iusto."], ["body", "Vero praesentium hic. Tempora et est. Sapiente rerum alias."], ["created_at", "2019-01-19 15:04:25.389570"], ["updated_at", "2019-01-19 15:04:25.389570"]] ↳ db/seeds.rb:46  (0.4ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:04:25.391038"], ["updated_at", "2019-01-19 15:04:25.391038"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:04:25.392695"], ["updated_at", "2019-01-19 15:04:25.392695"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Animi ipsum placeat architecto."], ["body", "Numquam excepturi in. Minima sit rerum. Adipisci non autem."], ["created_at", "2019-01-19 15:04:25.394470"], ["updated_at", "2019-01-19 15:04:25.394470"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.1ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:04:25.396664"], ["updated_at", "2019-01-19 15:04:25.396664"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:04:25.398378"], ["updated_at", "2019-01-19 15:04:25.398378"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Molestiae sapiente magnam aut."], ["body", "Saepe voluptatem veritatis. Consectetur dolor fugit. Et laboriosam molestias."], ["created_at", "2019-01-19 15:04:25.400412"], ["updated_at", "2019-01-19 15:04:25.400412"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:04:25.402453"], ["updated_at", "2019-01-19 15:04:25.402453"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:04:25.404345"], ["updated_at", "2019-01-19 15:04:25.404345"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Sit repellat et ratione."], ["body", "Quas aut voluptatibus. Placeat vel et. Doloribus delectus odit."], ["created_at", "2019-01-19 15:04:25.406271"], ["updated_at", "2019-01-19 15:04:25.406271"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:04:25.408120"], ["updated_at", "2019-01-19 15:04:25.408120"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:04:25.409913"], ["updated_at", "2019-01-19 15:04:25.409913"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Incidunt voluptatem et similique."], ["body", "Error dolorem voluptas. Et ut ut. Iste recusandae quia."], ["created_at", "2019-01-19 15:04:25.411941"], ["updated_at", "2019-01-19 15:04:25.411941"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:04:25.413682"], ["updated_at", "2019-01-19 15:04:25.413682"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:04:25.415371"], ["updated_at", "2019-01-19 15:04:25.415371"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Nihil quo iusto atque."], ["body", "Earum consequatur amet. Nihil maxime accusantium. Laudantium voluptas deleniti."], ["created_at", "2019-01-19 15:04:25.417256"], ["updated_at", "2019-01-19 15:04:25.417256"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:04:25.419475"], ["updated_at", "2019-01-19 15:04:25.419475"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:04:25.421216"], ["updated_at", "2019-01-19 15:04:25.421216"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Asperiores veritatis voluptatem voluptatem."], ["body", "Unde nostrum est. Rem ad dolorem. Quia ipsam exercitationem."], ["created_at", "2019-01-19 15:04:25.423012"], ["updated_at", "2019-01-19 15:04:25.423012"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:04:25.424741"], ["updated_at", "2019-01-19 15:04:25.424741"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:04:25.426257"], ["updated_at", "2019-01-19 15:04:25.426257"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.1ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Quaerat nostrum ut molestias."], ["body", "Qui temporibus perspiciatis. Aut nostrum minus. Omnis voluptatem et."], ["created_at", "2019-01-19 15:04:25.428595"], ["updated_at", "2019-01-19 15:04:25.428595"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:04:25.430472"], ["updated_at", "2019-01-19 15:04:25.430472"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:04:25.432164"], ["updated_at", "2019-01-19 15:04:25.432164"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Qui cumque sint natus."], ["body", "Perspiciatis quo quis. Adipisci optio placeat. Culpa laboriosam ad."], ["created_at", "2019-01-19 15:04:25.434101"], ["updated_at", "2019-01-19 15:04:25.434101"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:04:25.435762"], ["updated_at", "2019-01-19 15:04:25.435762"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 15:04:25.437297"], ["updated_at", "2019-01-19 15:04:25.437297"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Dolore minus accusantium suscipit."], ["body", "Ea eaque officia. Omnis doloremque rerum. Modi in ut."], ["created_at", "2019-01-19 15:04:25.439252"], ["updated_at", "2019-01-19 15:04:25.439252"]] ↳ db/seeds.rb:50  (0.5ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:04:25.440948"], ["updated_at", "2019-01-19 15:04:25.440948"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:04:25.442515"], ["updated_at", "2019-01-19 15:04:25.442515"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "properties"], ["created_at", "2019-01-19 15:04:25.447578"], ["updated_at", "2019-01-19 15:04:25.447578"]] ↳ db/seeds.rb:63  (0.9ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "routes"], ["created_at", "2019-01-19 15:04:25.450014"], ["updated_at", "2019-01-19 15:04:25.450014"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.452238"], ["updated_at", "2019-01-19 15:04:25.452238"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/mailers"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.454554"], ["updated_at", "2019-01-19 15:04:25.454554"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "visitors"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.457039"], ["updated_at", "2019-01-19 15:04:25.457039"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.459648"], ["updated_at", "2019-01-19 15:04:25.459648"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.462404"], ["updated_at", "2019-01-19 15:04:25.462404"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.464836"], ["updated_at", "2019-01-19 15:04:25.464836"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.467221"], ["updated_at", "2019-01-19 15:04:25.467221"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.469178"], ["updated_at", "2019-01-19 15:04:25.469178"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.471060"], ["updated_at", "2019-01-19 15:04:25.471060"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.473147"], ["updated_at", "2019-01-19 15:04:25.473147"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "cancel"], ["created_at", "2019-01-19 15:04:25.475147"], ["updated_at", "2019-01-19 15:04:25.475147"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.477240"], ["updated_at", "2019-01-19 15:04:25.477240"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.479300"], ["updated_at", "2019-01-19 15:04:25.479300"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.481347"], ["updated_at", "2019-01-19 15:04:25.481347"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.483163"], ["updated_at", "2019-01-19 15:04:25.483163"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.485415"], ["updated_at", "2019-01-19 15:04:25.485415"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.487580"], ["updated_at", "2019-01-19 15:04:25.487580"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.489514"], ["updated_at", "2019-01-19 15:04:25.489514"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.491413"], ["updated_at", "2019-01-19 15:04:25.491413"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.493396"], ["updated_at", "2019-01-19 15:04:25.493396"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "show"], ["created_at", "2019-01-19 15:04:25.495576"], ["updated_at", "2019-01-19 15:04:25.495576"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.497967"], ["updated_at", "2019-01-19 15:04:25.497967"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.500011"], ["updated_at", "2019-01-19 15:04:25.500011"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.502091"], ["updated_at", "2019-01-19 15:04:25.502091"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.504209"], ["updated_at", "2019-01-19 15:04:25.504209"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.509069"], ["updated_at", "2019-01-19 15:04:25.509069"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.511156"], ["updated_at", "2019-01-19 15:04:25.511156"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.513133"], ["updated_at", "2019-01-19 15:04:25.513133"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.515222"], ["updated_at", "2019-01-19 15:04:25.515222"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.517378"], ["updated_at", "2019-01-19 15:04:25.517378"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.519619"], ["updated_at", "2019-01-19 15:04:25.519619"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.521519"], ["updated_at", "2019-01-19 15:04:25.521519"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.523524"], ["updated_at", "2019-01-19 15:04:25.523524"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.525457"], ["updated_at", "2019-01-19 15:04:25.525457"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.527535"], ["updated_at", "2019-01-19 15:04:25.527535"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.529559"], ["updated_at", "2019-01-19 15:04:25.529559"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.531661"], ["updated_at", "2019-01-19 15:04:25.531661"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.533714"], ["updated_at", "2019-01-19 15:04:25.533714"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.535729"], ["updated_at", "2019-01-19 15:04:25.535729"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/disk"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.537589"], ["updated_at", "2019-01-19 15:04:25.537589"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/direct_uploads"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.539599"], ["updated_at", "2019-01-19 15:04:25.539599"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/welcome"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.541609"], ["updated_at", "2019-01-19 15:04:25.541609"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_clearances"], ["name", "View clearances"], ["description", "View clearances"], ["created_at", "2019-01-19 15:04:25.600495"], ["updated_at", "2019-01-19 15:04:25.600495"]] ↳ db/seeds.rb:76  (1.2ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "clearances"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["created_at", "2019-01-19 15:04:25.622129"], ["updated_at", "2019-01-19 15:04:25.622129"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.3ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.4ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_clearances"], ["name", "Manage clearances"], ["description", "Manage clearances"], ["created_at", "2019-01-19 15:04:25.627279"], ["updated_at", "2019-01-19 15:04:25.627279"]] ↳ db/seeds.rb:76  (1.1ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.6ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "clearances"]] ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.5ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:04:25.635183"], ["updated_at", "2019-01-19 15:04:25.635183"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:04:25.637792"], ["updated_at", "2019-01-19 15:04:25.637792"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:04:25.639534"], ["updated_at", "2019-01-19 15:04:25.639534"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:04:25.641108"], ["updated_at", "2019-01-19 15:04:25.641108"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:04:25.642530"], ["updated_at", "2019-01-19 15:04:25.642530"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:04:25.644024"], ["updated_at", "2019-01-19 15:04:25.644024"]] ↳ db/seeds.rb:84  (1.2ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_cities"], ["name", "View cities"], ["description", "View cities"], ["created_at", "2019-01-19 15:04:25.648280"], ["updated_at", "2019-01-19 15:04:25.648280"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "cities"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["created_at", "2019-01-19 15:04:25.652246"], ["updated_at", "2019-01-19 15:04:25.652246"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_cities"], ["name", "Manage cities"], ["description", "Manage cities"], ["created_at", "2019-01-19 15:04:25.655986"], ["updated_at", "2019-01-19 15:04:25.655986"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "cities"]] ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:04:25.660468"], ["updated_at", "2019-01-19 15:04:25.660468"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:04:25.662314"], ["updated_at", "2019-01-19 15:04:25.662314"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:04:25.663832"], ["updated_at", "2019-01-19 15:04:25.663832"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:04:25.665188"], ["updated_at", "2019-01-19 15:04:25.665188"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:04:25.666447"], ["updated_at", "2019-01-19 15:04:25.666447"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:04:25.667741"], ["updated_at", "2019-01-19 15:04:25.667741"]] ↳ db/seeds.rb:84  (0.8ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_reports"], ["name", "View reports"], ["description", "View reports"], ["created_at", "2019-01-19 15:04:25.670502"], ["updated_at", "2019-01-19 15:04:25.670502"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "reports"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["created_at", "2019-01-19 15:04:25.674121"], ["updated_at", "2019-01-19 15:04:25.674121"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["created_at", "2019-01-19 15:04:25.675487"], ["updated_at", "2019-01-19 15:04:25.675487"]] ↳ db/seeds.rb:84  (0.5ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_reports"], ["name", "Manage reports"], ["description", "Manage reports"], ["created_at", "2019-01-19 15:04:25.677742"], ["updated_at", "2019-01-19 15:04:25.677742"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "reports"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:04:25.680998"], ["updated_at", "2019-01-19 15:04:25.680998"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:04:25.682263"], ["updated_at", "2019-01-19 15:04:25.682263"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:04:25.683465"], ["updated_at", "2019-01-19 15:04:25.683465"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:04:25.684581"], ["updated_at", "2019-01-19 15:04:25.684581"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:04:25.685634"], ["updated_at", "2019-01-19 15:04:25.685634"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:04:25.686774"], ["updated_at", "2019-01-19 15:04:25.686774"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:04:25.687812"], ["updated_at", "2019-01-19 15:04:25.687812"]] ↳ db/seeds.rb:84  (1.2ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.2ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.4ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_announcements"], ["name", "View announcements"], ["description", "View announcements"], ["created_at", "2019-01-19 15:04:25.692944"], ["updated_at", "2019-01-19 15:04:25.692944"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "announcements"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["created_at", "2019-01-19 15:04:25.698114"], ["updated_at", "2019-01-19 15:04:25.698114"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_announcements"], ["name", "Manage announcements"], ["description", "Manage announcements"], ["created_at", "2019-01-19 15:04:25.701388"], ["updated_at", "2019-01-19 15:04:25.701388"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "announcements"]] ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:04:25.705598"], ["updated_at", "2019-01-19 15:04:25.705598"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:04:25.707338"], ["updated_at", "2019-01-19 15:04:25.707338"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:04:25.708814"], ["updated_at", "2019-01-19 15:04:25.708814"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:04:25.710135"], ["updated_at", "2019-01-19 15:04:25.710135"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "general_director"], ["name", "general_director"], ["description", "general_director"], ["created_at", "2019-01-19 15:04:25.717098"], ["updated_at", "2019-01-19 15:04:25.717098"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.728553"], ["updated_at", "2019-01-19 15:04:25.728553"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.729969"], ["updated_at", "2019-01-19 15:04:25.729969"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.731037"], ["updated_at", "2019-01-19 15:04:25.731037"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.732115"], ["updated_at", "2019-01-19 15:04:25.732115"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.733144"], ["updated_at", "2019-01-19 15:04:25.733144"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.734180"], ["updated_at", "2019-01-19 15:04:25.734180"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.735257"], ["updated_at", "2019-01-19 15:04:25.735257"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 1], ["created_at", "2019-01-19 15:04:25.736288"], ["updated_at", "2019-01-19 15:04:25.736288"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 15:04:25.748038"], ["updated_at", "2019-01-19 15:04:25.748038"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_director"], ["name", "ny_director"], ["description", "ny_director"], ["created_at", "2019-01-19 15:04:25.751053"], ["updated_at", "2019-01-19 15:04:25.751053"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.754655"], ["updated_at", "2019-01-19 15:04:25.754655"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.756012"], ["updated_at", "2019-01-19 15:04:25.756012"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.757150"], ["updated_at", "2019-01-19 15:04:25.757150"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.758318"], ["updated_at", "2019-01-19 15:04:25.758318"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.759508"], ["updated_at", "2019-01-19 15:04:25.759508"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.760731"], ["updated_at", "2019-01-19 15:04:25.760731"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.762269"], ["updated_at", "2019-01-19 15:04:25.762269"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 2], ["created_at", "2019-01-19 15:04:25.763345"], ["updated_at", "2019-01-19 15:04:25.763345"]] ↳ db/seeds.rb:103  (0.8ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["created_at", "2019-01-19 15:04:25.766251"], ["updated_at", "2019-01-19 15:04:25.766251"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_director"], ["name", "sf_director"], ["description", "sf_director"], ["created_at", "2019-01-19 15:04:25.768622"], ["updated_at", "2019-01-19 15:04:25.768622"]] ↳ db/seeds.rb:95  (0.9ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.3ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.774542"], ["updated_at", "2019-01-19 15:04:25.774542"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.776875"], ["updated_at", "2019-01-19 15:04:25.776875"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.778555"], ["updated_at", "2019-01-19 15:04:25.778555"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.780123"], ["updated_at", "2019-01-19 15:04:25.780123"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.781689"], ["updated_at", "2019-01-19 15:04:25.781689"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.783027"], ["updated_at", "2019-01-19 15:04:25.783027"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.784336"], ["updated_at", "2019-01-19 15:04:25.784336"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 3], ["created_at", "2019-01-19 15:04:25.785656"], ["updated_at", "2019-01-19 15:04:25.785656"]] ↳ db/seeds.rb:103  (1.2ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.5ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["created_at", "2019-01-19 15:04:25.791659"], ["updated_at", "2019-01-19 15:04:25.791659"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_agent"], ["name", "ny_agent"], ["description", "ny_agent"], ["created_at", "2019-01-19 15:04:25.795673"], ["updated_at", "2019-01-19 15:04:25.795673"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.800001"], ["updated_at", "2019-01-19 15:04:25.800001"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.801809"], ["updated_at", "2019-01-19 15:04:25.801809"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.803093"], ["updated_at", "2019-01-19 15:04:25.803093"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.804392"], ["updated_at", "2019-01-19 15:04:25.804392"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.805704"], ["updated_at", "2019-01-19 15:04:25.805704"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.806984"], ["updated_at", "2019-01-19 15:04:25.806984"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.808208"], ["updated_at", "2019-01-19 15:04:25.808208"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 4], ["created_at", "2019-01-19 15:04:25.809458"], ["updated_at", "2019-01-19 15:04:25.809458"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["created_at", "2019-01-19 15:04:25.812243"], ["updated_at", "2019-01-19 15:04:25.812243"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_agent"], ["name", "sf_agent"], ["description", "sf_agent"], ["created_at", "2019-01-19 15:04:25.815355"], ["updated_at", "2019-01-19 15:04:25.815355"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.822595"], ["updated_at", "2019-01-19 15:04:25.822595"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.824179"], ["updated_at", "2019-01-19 15:04:25.824179"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.825288"], ["updated_at", "2019-01-19 15:04:25.825288"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.826339"], ["updated_at", "2019-01-19 15:04:25.826339"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.827382"], ["updated_at", "2019-01-19 15:04:25.827382"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.828466"], ["updated_at", "2019-01-19 15:04:25.828466"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.829511"], ["updated_at", "2019-01-19 15:04:25.829511"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 5], ["created_at", "2019-01-19 15:04:25.830565"], ["updated_at", "2019-01-19 15:04:25.830565"]] ↳ db/seeds.rb:103  (1.2ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["created_at", "2019-01-19 15:04:25.835421"], ["updated_at", "2019-01-19 15:04:25.835421"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_auditor"], ["name", "ny_auditor"], ["description", "ny_auditor"], ["created_at", "2019-01-19 15:04:25.838332"], ["updated_at", "2019-01-19 15:04:25.838332"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 6], ["created_at", "2019-01-19 15:04:25.841484"], ["updated_at", "2019-01-19 15:04:25.841484"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 6], ["created_at", "2019-01-19 15:04:25.842821"], ["updated_at", "2019-01-19 15:04:25.842821"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 6], ["created_at", "2019-01-19 15:04:25.843900"], ["updated_at", "2019-01-19 15:04:25.843900"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 6], ["created_at", "2019-01-19 15:04:25.844999"], ["updated_at", "2019-01-19 15:04:25.844999"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["created_at", "2019-01-19 15:04:25.847676"], ["updated_at", "2019-01-19 15:04:25.847676"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_auditor"], ["name", "sf_auditor"], ["description", "sf_auditor"], ["created_at", "2019-01-19 15:04:25.850426"], ["updated_at", "2019-01-19 15:04:25.850426"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 7], ["created_at", "2019-01-19 15:04:25.853699"], ["updated_at", "2019-01-19 15:04:25.853699"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 7], ["created_at", "2019-01-19 15:04:25.855071"], ["updated_at", "2019-01-19 15:04:25.855071"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 7], ["created_at", "2019-01-19 15:04:25.856180"], ["updated_at", "2019-01-19 15:04:25.856180"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 7], ["created_at", "2019-01-19 15:04:25.857437"], ["updated_at", "2019-01-19 15:04:25.857437"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["created_at", "2019-01-19 15:04:25.860254"], ["updated_at", "2019-01-19 15:04:25.860254"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:113  (0.0ms) begin transaction ↳ db/seeds.rb:114 Authz::ScopingRule Exists (0.2ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:114  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.4ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 15:04:25.873921"], ["updated_at", "2019-01-19 15:04:25.873921"]] ↳ db/seeds.rb:114  (0.7ms) commit transaction ↳ db/seeds.rb:114  (0.0ms) begin transaction ↳ db/seeds.rb:115 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:115  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 15:04:25.877369"], ["updated_at", "2019-01-19 15:04:25.877369"]] ↳ db/seeds.rb:115  (0.7ms) commit transaction ↳ db/seeds.rb:115 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'ny%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["keyword", "New York"], ["created_at", "2019-01-19 15:04:25.880943"], ["updated_at", "2019-01-19 15:04:25.880943"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["keyword", "New York"], ["created_at", "2019-01-19 15:04:25.883665"], ["updated_at", "2019-01-19 15:04:25.883665"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["keyword", "New York"], ["created_at", "2019-01-19 15:04:25.886232"], ["updated_at", "2019-01-19 15:04:25.886232"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'sf%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:04:25.889117"], ["updated_at", "2019-01-19 15:04:25.889117"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:04:25.891563"], ["updated_at", "2019-01-19 15:04:25.891563"]] ↳ db/seeds.rb:123  (0.7ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:04:25.894414"], ["updated_at", "2019-01-19 15:04:25.894414"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_director"], ["name", "sf_director"]] ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["keyword", "All"], ["created_at", "2019-01-19 15:04:25.897792"], ["updated_at", "2019-01-19 15:04:25.897792"]] ↳ db/seeds.rb:129  (0.5ms) commit transaction ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["keyword", "All"], ["created_at", "2019-01-19 15:04:25.900371"], ["updated_at", "2019-01-19 15:04:25.900371"]] ↳ db/seeds.rb:129  (0.6ms) commit transaction ↳ db/seeds.rb:129 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_agent"], ["name", "sf_agent"]] ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["keyword", "secret"], ["created_at", "2019-01-19 15:04:25.903195"], ["updated_at", "2019-01-19 15:04:25.903195"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["keyword", "secret"], ["created_at", "2019-01-19 15:04:25.905666"], ["updated_at", "2019-01-19 15:04:25.905666"]] ↳ db/seeds.rb:133  (0.5ms) commit transaction ↳ db/seeds.rb:133 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE '%auditor%') ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["keyword", "All"], ["created_at", "2019-01-19 15:04:25.908339"], ["updated_at", "2019-01-19 15:04:25.908339"]] ↳ db/seeds.rb:137  (0.6ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["keyword", "All"], ["created_at", "2019-01-19 15:04:25.910908"], ["updated_at", "2019-01-19 15:04:25.910908"]] ↳ db/seeds.rb:137  (0.6ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:142 Announcement Create (0.3ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny and sf"], ["created_at", "2019-01-19 15:04:25.917484"], ["updated_at", "2019-01-19 15:04:25.917484"]] ↳ db/seeds.rb:142  (0.7ms) commit transaction ↳ db/seeds.rb:142  (0.0ms) begin transaction ↳ db/seeds.rb:143 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 1], ["created_at", "2019-01-19 15:04:25.927233"], ["updated_at", "2019-01-19 15:04:25.927233"]] ↳ db/seeds.rb:143 AnnouncementCity Create (0.1ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 2], ["created_at", "2019-01-19 15:04:25.928351"], ["updated_at", "2019-01-19 15:04:25.928351"]] ↳ db/seeds.rb:143  (0.5ms) commit transaction ↳ db/seeds.rb:143  (0.0ms) begin transaction ↳ db/seeds.rb:145 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny"], ["created_at", "2019-01-19 15:04:25.929713"], ["updated_at", "2019-01-19 15:04:25.929713"]] ↳ db/seeds.rb:145  (0.6ms) commit transaction ↳ db/seeds.rb:145  (0.0ms) begin transaction ↳ db/seeds.rb:146 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["city_id", 1], ["created_at", "2019-01-19 15:04:25.931931"], ["updated_at", "2019-01-19 15:04:25.931931"]] ↳ db/seeds.rb:146  (0.4ms) commit transaction ↳ db/seeds.rb:146  (0.0ms) begin transaction ↳ db/seeds.rb:148 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for sf"], ["created_at", "2019-01-19 15:04:25.933356"], ["updated_at", "2019-01-19 15:04:25.933356"]] ↳ db/seeds.rb:148  (0.6ms) commit transaction ↳ db/seeds.rb:148  (0.0ms) begin transaction ↳ db/seeds.rb:149 AnnouncementCity Create (0.2ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 3], ["city_id", 2], ["created_at", "2019-01-19 15:04:25.935424"], ["updated_at", "2019-01-19 15:04:25.935424"]] ↳ db/seeds.rb:149  (0.6ms) commit transaction ↳ db/seeds.rb:149  (0.0ms) begin transaction ↳ db/seeds.rb:151 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for no one"], ["created_at", "2019-01-19 15:04:25.936982"], ["updated_at", "2019-01-19 15:04:25.936982"]] ↳ db/seeds.rb:151  (0.6ms) commit transaction ↳ db/seeds.rb:151  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.939474"], ["updated_at", "2019-01-19 15:04:25.939474"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.941498"], ["updated_at", "2019-01-19 15:04:25.941498"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.943663"], ["updated_at", "2019-01-19 15:04:25.943663"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.945686"], ["updated_at", "2019-01-19 15:04:25.945686"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.947852"], ["updated_at", "2019-01-19 15:04:25.947852"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 15:04:25.949877"], ["updated_at", "2019-01-19 15:04:25.949877"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.952175"], ["updated_at", "2019-01-19 15:04:25.952175"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.954309"], ["updated_at", "2019-01-19 15:04:25.954309"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.956375"], ["updated_at", "2019-01-19 15:04:25.956375"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.958285"], ["updated_at", "2019-01-19 15:04:25.958285"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.960268"], ["updated_at", "2019-01-19 15:04:25.960268"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.962328"], ["updated_at", "2019-01-19 15:04:25.962328"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 15:04:25.964410"], ["updated_at", "2019-01-19 15:04:25.964410"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.966563"], ["updated_at", "2019-01-19 15:04:25.966563"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.968666"], ["updated_at", "2019-01-19 15:04:25.968666"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.970798"], ["updated_at", "2019-01-19 15:04:25.970798"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.973034"], ["updated_at", "2019-01-19 15:04:25.973034"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.975286"], ["updated_at", "2019-01-19 15:04:25.975286"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.977514"], ["updated_at", "2019-01-19 15:04:25.977514"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 15:04:25.979720"], ["updated_at", "2019-01-19 15:04:25.979720"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 15:04:25.982114"], ["updated_at", "2019-01-19 15:04:25.982114"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.984436"], ["updated_at", "2019-01-19 15:04:25.984436"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 15:04:25.986808"], ["updated_at", "2019-01-19 15:04:25.986808"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 15:04:25.989707"], ["updated_at", "2019-01-19 15:04:25.989707"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 15:04:25.992446"], ["updated_at", "2019-01-19 15:04:25.992446"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 15:04:25.995235"], ["updated_at", "2019-01-19 15:04:25.995235"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 15:04:25.997718"], ["updated_at", "2019-01-19 15:04:25.997718"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 15:04:26.000090"], ["updated_at", "2019-01-19 15:04:26.000090"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 15:04:26.002221"], ["updated_at", "2019-01-19 15:04:26.002221"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 15:04:26.004439"], ["updated_at", "2019-01-19 15:04:26.004439"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 15:04:26.006433"], ["updated_at", "2019-01-19 15:04:26.006433"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 15:04:26.008554"], ["updated_at", "2019-01-19 15:04:26.008554"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 15:04:26.010809"], ["updated_at", "2019-01-19 15:04:26.010809"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 15:04:26.012762"], ["updated_at", "2019-01-19 15:04:26.012762"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 15:04:26.014888"], ["updated_at", "2019-01-19 15:04:26.014888"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 15:04:26.016825"], ["updated_at", "2019-01-19 15:04:26.016825"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 15:04:26.019269"], ["updated_at", "2019-01-19 15:04:26.019269"]] ↳ db/seeds.rb:166  (0.6ms) commit transaction ↳ db/seeds.rb:166 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.023205"], ["updated_at", "2019-01-19 15:04:26.023205"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.024581"], ["updated_at", "2019-01-19 15:04:26.024581"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.025706"], ["updated_at", "2019-01-19 15:04:26.025706"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.026827"], ["updated_at", "2019-01-19 15:04:26.026827"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.027915"], ["updated_at", "2019-01-19 15:04:26.027915"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.029159"], ["updated_at", "2019-01-19 15:04:26.029159"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.030272"], ["updated_at", "2019-01-19 15:04:26.030272"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.031336"], ["updated_at", "2019-01-19 15:04:26.031336"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.032391"], ["updated_at", "2019-01-19 15:04:26.032391"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.033470"], ["updated_at", "2019-01-19 15:04:26.033470"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.034547"], ["updated_at", "2019-01-19 15:04:26.034547"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.035618"], ["updated_at", "2019-01-19 15:04:26.035618"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.036667"], ["updated_at", "2019-01-19 15:04:26.036667"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.037699"], ["updated_at", "2019-01-19 15:04:26.037699"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.038749"], ["updated_at", "2019-01-19 15:04:26.038749"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.039761"], ["updated_at", "2019-01-19 15:04:26.039761"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.040782"], ["updated_at", "2019-01-19 15:04:26.040782"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.041743"], ["updated_at", "2019-01-19 15:04:26.041743"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.042696"], ["updated_at", "2019-01-19 15:04:26.042696"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.043779"], ["updated_at", "2019-01-19 15:04:26.043779"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.044790"], ["updated_at", "2019-01-19 15:04:26.044790"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.045818"], ["updated_at", "2019-01-19 15:04:26.045818"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.046826"], ["updated_at", "2019-01-19 15:04:26.046826"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.047841"], ["updated_at", "2019-01-19 15:04:26.047841"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.048848"], ["updated_at", "2019-01-19 15:04:26.048848"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.049878"], ["updated_at", "2019-01-19 15:04:26.049878"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.050886"], ["updated_at", "2019-01-19 15:04:26.050886"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.051887"], ["updated_at", "2019-01-19 15:04:26.051887"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.052888"], ["updated_at", "2019-01-19 15:04:26.052888"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.053884"], ["updated_at", "2019-01-19 15:04:26.053884"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.054886"], ["updated_at", "2019-01-19 15:04:26.054886"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.056075"], ["updated_at", "2019-01-19 15:04:26.056075"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.057116"], ["updated_at", "2019-01-19 15:04:26.057116"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.058156"], ["updated_at", "2019-01-19 15:04:26.058156"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.062396"], ["updated_at", "2019-01-19 15:04:26.062396"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:04:26.063499"], ["updated_at", "2019-01-19 15:04:26.063499"]] ↳ db/seeds.rb:167  (1.3ms) commit transaction ↳ db/seeds.rb:167  (0.1ms) begin transaction ↳ db/seeds.rb:170 Authz::Role Exists (0.2ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "auth_admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Auth Admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Create (0.4ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "auth_admin"], ["name", "Auth Admin"], ["description", "Auth Admin"], ["created_at", "2019-01-19 15:04:26.068567"], ["updated_at", "2019-01-19 15:04:26.068567"]] ↳ db/seeds.rb:170  (0.8ms) commit transaction ↳ db/seeds.rb:170  (0.0ms) begin transaction ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Exists (0.2ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Create (0.4ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 8], ["created_at", "2019-01-19 15:04:26.073356"], ["updated_at", "2019-01-19 15:04:26.073356"]] ↳ db/seeds.rb:171  (0.8ms) commit transaction ↳ db/seeds.rb:171  (0.0ms) begin transaction ↳ db/seeds.rb:174 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 8], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:174 Authz::RoleGrant Create (0.4ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 8], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 15:04:26.077641"], ["updated_at", "2019-01-19 15:04:26.077641"]] ↳ db/seeds.rb:174  (0.8ms) commit transaction ↳ db/seeds.rb:174 Started GET "/announcements" for 127.0.0.1 at 2019-01-20 02:04:46 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by AnnouncementsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Completed 401 Unauthorized in 16ms (ActiveRecord: 0.6ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 02:04:52 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (18.4ms) Rendered layouts/_flash.html.slim (2.1ms) Completed 200 OK in 527ms (Views: 525.2ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 02:05:08 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"JHCqjsFjqPyBE9H43aoncgdxHbS9GTZGb+XeUJHyx5xSjRnGIiwaae0Z8uBgkvGeh/J4qAJzrDHnVlQLZ+/gIw==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/announcements Completed 302 Found in 126ms (ActiveRecord: 0.2ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 02:05:08 +1100 Processing by AnnouncementsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 8], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Completed 404 Not Found in 51ms (ActiveRecord: 2.0ms) ActiveRecord::RecordNotFound - Couldn't find Authz::ScopingRule with [WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ?]: app/controllers/announcements_controller.rb:4:in `index' Started POST "/__better_errors/317644e2200866be/variables" for 127.0.0.1 at 2019-01-20 02:05:08 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3  (0.1ms) rollback transaction ↳ db/seeds.rb:3  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:4  (0.0ms) SELECT sqlite_version(*) ↳ bin/rails:4  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ bin/rails:4  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4 Migrating to DeviseCreateUsers (20181128042315)  (0.1ms) begin transaction ↳ bin/rails:4  (0.1ms) SELECT sqlite_version(*) ↳ db/migrate/20181128042315_devise_create_users.rb:5  (0.5ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128042315_devise_create_users.rb:5  (0.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/migrate/20181128042315_devise_create_users.rb:39  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/migrate/20181128042315_devise_create_users.rb:40 ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128042315"]] ↳ bin/rails:4  (0.6ms) commit transaction ↳ bin/rails:4 Migrating to CreateClearances (20181128052541)  (0.1ms) begin transaction ↳ bin/rails:4  (0.4ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128052541_create_clearances.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128052541"]] ↳ bin/rails:4  (0.6ms) commit transaction ↳ bin/rails:4 Migrating to CreateCities (20181128063016)  (0.1ms) begin transaction ↳ bin/rails:4  (0.4ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128063016_create_cities.rb:3 ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128063016"]] ↳ bin/rails:4  (0.6ms) commit transaction ↳ bin/rails:4 Migrating to CreateReports (20181129002252)  (0.0ms) begin transaction ↳ bin/rails:4  (0.4ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c7699d537d" FOREIGN KEY ("user_id") REFERENCES "users" ("id") , CONSTRAINT "fk_rails_497347bc85" FOREIGN KEY ("clearance_id") REFERENCES "clearances" ("id") , CONSTRAINT "fk_rails_0e85997f50" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/migrate/20181129002252_create_reports.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129002252"]] ↳ bin/rails:4  (0.7ms) commit transaction ↳ bin/rails:4 Migrating to CreateRatings (20190103083513)  (0.0ms) begin transaction ↳ bin/rails:4  (0.3ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9a416b320a" FOREIGN KEY ("report_id") REFERENCES "reports" ("id") , CONSTRAINT "fk_rails_a7dfeb9f5f" FOREIGN KEY ("user_id") REFERENCES "users" ("id") ) ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/migrate/20190103083513_create_ratings.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190103083513"]] ↳ bin/rails:4  (0.8ms) commit transaction ↳ bin/rails:4 Migrating to CreateAnnouncements (20190104075934)  (0.0ms) begin transaction ↳ bin/rails:4  (0.2ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20190104075934_create_announcements.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104075934"]] ↳ bin/rails:4  (0.5ms) commit transaction ↳ bin/rails:4 Migrating to CreateAnnouncementCities (20190104080155)  (0.1ms) begin transaction ↳ bin/rails:4  (0.3ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_f0ac4e0571" FOREIGN KEY ("announcement_id") REFERENCES "announcements" ("id") , CONSTRAINT "fk_rails_6562be5dd7" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104080155"]] ↳ bin/rails:4  (0.6ms) commit transaction ↳ bin/rails:4 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:4  (0.0ms) begin transaction ↳ bin/rails:4 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 15:06:31.371727"], ["updated_at", "2019-01-19 15:06:31.371727"]] ↳ bin/rails:4  (0.6ms) commit transaction ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.0ms) SELECT sqlite_version(*) ↳ bin/rails:14  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ bin/rails:14  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14 Migrating to DeviseCreateUsers (20181128042315)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128042315_devise_create_users.rb:5  (0.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/migrate/20181128042315_devise_create_users.rb:39  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/migrate/20181128042315_devise_create_users.rb:40 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128042315"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateClearances (20181128052541)  (0.0ms) begin transaction ↳ bin/rails:14  (0.4ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128052541_create_clearances.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128052541"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateCities (20181128063016)  (0.0ms) begin transaction ↳ bin/rails:14  (0.2ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20181128063016_create_cities.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181128063016"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateReports (20181129002252)  (0.0ms) begin transaction ↳ bin/rails:14  (0.2ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c7699d537d" FOREIGN KEY ("user_id") REFERENCES "users" ("id") , CONSTRAINT "fk_rails_497347bc85" FOREIGN KEY ("clearance_id") REFERENCES "clearances" ("id") , CONSTRAINT "fk_rails_0e85997f50" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/migrate/20181129002252_create_reports.rb:3  (0.1ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/migrate/20181129002252_create_reports.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129002252"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzControllerActions (20181129024103)  (0.0ms) begin transaction ↳ bin/rails:14  (0.2ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129024103_create_authz_controller_actions.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129024103"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzBusinessProcesses (20181129080058)  (0.1ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129080058_create_authz_business_processes.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129080058"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzBusinessProcessHasControllerActions (20181129091325)  (0.0ms) begin transaction ↳ bin/rails:14  (0.2ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9404d6fe94" FOREIGN KEY ("authz_controller_action_id") REFERENCES "authz_controller_actions" ("id") , CONSTRAINT "fk_rails_47fb2007ad" FOREIGN KEY ("authz_business_process_id") REFERENCES "authz_business_processes" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19  (0.1ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19  (0.1ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129091325_create_authz_business_process_has_controller_actions.rb:19 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129091325"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoles (20181129131405)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129131405_create_authz_roles.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129131405"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoleHasBusinessProcesses (20181129220317)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9e1f75159f" FOREIGN KEY ("authz_business_process_id") REFERENCES "authz_business_processes" ("id") , CONSTRAINT "fk_rails_97ef17aa6c" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3  (0.1ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3  (0.1ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181129220317_create_authz_role_has_business_processes.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181129220317"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzRoleGrants (20181130053841)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3615802f3" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3  (0.1ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3  (0.1ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20181130053841_create_authz_role_grants.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181130053841"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAuthzScopingRules (20190102030242)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_3035be893e" FOREIGN KEY ("authz_role_id") REFERENCES "authz_roles" ("id") ) ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3  (0.1ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ /Users/sergio_rodriguez/workspace/authz/db/migrate/20190102030242_create_authz_scoping_rules.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190102030242"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 Migrating to CreateRatings (20190103083513)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_9a416b320a" FOREIGN KEY ("report_id") REFERENCES "reports" ("id") , CONSTRAINT "fk_rails_a7dfeb9f5f" FOREIGN KEY ("user_id") REFERENCES "users" ("id") ) ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/migrate/20190103083513_create_ratings.rb:3  (0.1ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/migrate/20190103083513_create_ratings.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190103083513"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14 Migrating to CreateAnnouncements (20190104075934)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/migrate/20190104075934_create_announcements.rb:3 ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104075934"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14 Migrating to CreateAnnouncementCities (20190104080155)  (0.0ms) begin transaction ↳ bin/rails:14  (0.3ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, CONSTRAINT "fk_rails_f0ac4e0571" FOREIGN KEY ("announcement_id") REFERENCES "announcements" ("id") , CONSTRAINT "fk_rails_6562be5dd7" FOREIGN KEY ("city_id") REFERENCES "cities" ("id") ) ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3  (0.1ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/migrate/20190104080155_create_announcement_cities.rb:3 ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190104080155"]] ↳ bin/rails:14  (0.7ms) commit transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 15:07:20.898513"], ["updated_at", "2019-01-19 15:07:20.898513"]] ↳ bin/rails:14  (0.6ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$TObC2L.YNGDhYV5HM7v9RePjcemyHR1Sv2.4qso8pCnAJjDEZ6dhu"], ["created_at", "2019-01-19 15:07:38.779531"], ["updated_at", "2019-01-19 15:07:38.779531"]] ↳ db/seeds.rb:3  (1.2ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$jIOTERuXfguDtSvH8nNyo.IyPxy3KVxiqkQLnN8qtYXuzZcB5dZ0e"], ["created_at", "2019-01-19 15:07:38.879081"], ["updated_at", "2019-01-19 15:07:38.879081"]] ↳ db/seeds.rb:4  (1.6ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$B4NOaAtx3cQ1CZiN40uhY.gCzeEFqcee6d8bAGAxhS8WQrBQpLrTS"], ["created_at", "2019-01-19 15:07:38.976315"], ["updated_at", "2019-01-19 15:07:38.976315"]] ↳ db/seeds.rb:5  (1.2ms) commit transaction ↳ db/seeds.rb:5  (0.0ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$dWJ/MjQIuJOv7fcgEbjAv.EAVYPEKjaVStd6DHoE5dMpbtdQ4afji"], ["created_at", "2019-01-19 15:07:39.067092"], ["updated_at", "2019-01-19 15:07:39.067092"]] ↳ db/seeds.rb:6  (1.3ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$3LUW.8Ir9JujmsqOFS8Q1.hXPREtSL9jlQlWQaOv0r9qHrPv5.FZa"], ["created_at", "2019-01-19 15:07:39.166084"], ["updated_at", "2019-01-19 15:07:39.166084"]] ↳ db/seeds.rb:7  (1.2ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$HCFDCdsWPpDuwgaL.jz8beRSYcN9k/FM4uJn8V88FQl9U7UGgWLOW"], ["created_at", "2019-01-19 15:07:39.257765"], ["updated_at", "2019-01-19 15:07:39.257765"]] ↳ db/seeds.rb:8  (1.2ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$e3j9NIZBVy0XxwedP8Yv5u3fodJEZg3VPgG5R.E0AFVsl4ANDhaYG"], ["created_at", "2019-01-19 15:07:39.348113"], ["updated_at", "2019-01-19 15:07:39.348113"]] ↳ db/seeds.rb:9  (1.2ms) commit transaction ↳ db/seeds.rb:9  (0.1ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 15:07:39.359247"], ["updated_at", "2019-01-19 15:07:39.359247"]] ↳ db/seeds.rb:13  (0.8ms) commit transaction ↳ db/seeds.rb:13  (0.0ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.0ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.2ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 15:07:39.361980"], ["updated_at", "2019-01-19 15:07:39.361980"]] ↳ db/seeds.rb:14  (0.6ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.3ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 15:07:39.375776"], ["updated_at", "2019-01-19 15:07:39.375776"]] ↳ db/seeds.rb:18  (1.1ms) commit transaction ↳ db/seeds.rb:18  (0.1ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.3ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.3ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 15:07:39.379681"], ["updated_at", "2019-01-19 15:07:39.379681"]] ↳ db/seeds.rb:19  (0.8ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Ut et aut itaque."], ["body", "Quo eos nisi. Nobis molestiae qui. Laboriosam omnis qui."], ["created_at", "2019-01-19 15:07:39.826381"], ["updated_at", "2019-01-19 15:07:39.826381"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 15:07:39.836769"], ["updated_at", "2019-01-19 15:07:39.836769"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:07:39.838597"], ["updated_at", "2019-01-19 15:07:39.838597"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Debitis laudantium aut commodi."], ["body", "Quas dolor beatae. Omnis et natus. Asperiores maxime quas."], ["created_at", "2019-01-19 15:07:39.840535"], ["updated_at", "2019-01-19 15:07:39.840535"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 15:07:39.842440"], ["updated_at", "2019-01-19 15:07:39.842440"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 15:07:39.843998"], ["updated_at", "2019-01-19 15:07:39.843998"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Est illum quia voluptatum."], ["body", "Delectus quo debitis. Repudiandae aspernatur aut. Quas modi accusamus."], ["created_at", "2019-01-19 15:07:39.846023"], ["updated_at", "2019-01-19 15:07:39.846023"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 15:07:39.847875"], ["updated_at", "2019-01-19 15:07:39.847875"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 15:07:39.849549"], ["updated_at", "2019-01-19 15:07:39.849549"]] ↳ db/seeds.rb:27  (0.4ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Dolor praesentium nulla sint."], ["body", "Cum ut corrupti. Explicabo corporis asperiores. Porro et deleniti."], ["created_at", "2019-01-19 15:07:39.851290"], ["updated_at", "2019-01-19 15:07:39.851290"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:07:39.852987"], ["updated_at", "2019-01-19 15:07:39.852987"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:07:39.854584"], ["updated_at", "2019-01-19 15:07:39.854584"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Dignissimos quisquam accusantium nam."], ["body", "Qui corporis ea. Quia nihil qui. Et et numquam."], ["created_at", "2019-01-19 15:07:39.856471"], ["updated_at", "2019-01-19 15:07:39.856471"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:07:39.858465"], ["updated_at", "2019-01-19 15:07:39.858465"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:07:39.860202"], ["updated_at", "2019-01-19 15:07:39.860202"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quis eos repellendus ullam."], ["body", "Velit aut quia. Quasi qui molestias. Saepe sunt ullam."], ["created_at", "2019-01-19 15:07:39.862248"], ["updated_at", "2019-01-19 15:07:39.862248"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:07:39.864005"], ["updated_at", "2019-01-19 15:07:39.864005"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:07:39.865663"], ["updated_at", "2019-01-19 15:07:39.865663"]] ↳ db/seeds.rb:31  (0.5ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Quasi rerum eos praesentium."], ["body", "Delectus molestiae et. Facere pariatur nemo. Laudantium aut soluta."], ["created_at", "2019-01-19 15:07:39.867489"], ["updated_at", "2019-01-19 15:07:39.867489"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 15:07:39.869442"], ["updated_at", "2019-01-19 15:07:39.869442"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 3], ["created_at", "2019-01-19 15:07:39.871252"], ["updated_at", "2019-01-19 15:07:39.871252"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quod impedit non amet."], ["body", "Vero qui expedita. Sit tempora voluptatem. Molestias in veniam."], ["created_at", "2019-01-19 15:07:39.873159"], ["updated_at", "2019-01-19 15:07:39.873159"]] ↳ db/seeds.rb:29  (0.5ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 15:07:39.874822"], ["updated_at", "2019-01-19 15:07:39.874822"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 15:07:39.876482"], ["updated_at", "2019-01-19 15:07:39.876482"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Qui ratione optio magni."], ["body", "Aperiam ex qui. Omnis culpa quasi. Sed tenetur aspernatur."], ["created_at", "2019-01-19 15:07:39.878313"], ["updated_at", "2019-01-19 15:07:39.878313"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:07:39.880117"], ["updated_at", "2019-01-19 15:07:39.880117"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:07:39.881852"], ["updated_at", "2019-01-19 15:07:39.881852"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Impedit velit voluptatem in."], ["body", "Nostrum adipisci eos. Facilis ipsum quia. Enim sit pariatur."], ["created_at", "2019-01-19 15:07:39.883688"], ["updated_at", "2019-01-19 15:07:39.883688"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:07:39.885376"], ["updated_at", "2019-01-19 15:07:39.885376"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:07:39.887005"], ["updated_at", "2019-01-19 15:07:39.887005"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Et itaque voluptatem voluptatum."], ["body", "Nihil inventore quidem. Eligendi ipsa exercitationem. Dolore iste voluptas."], ["created_at", "2019-01-19 15:07:39.888813"], ["updated_at", "2019-01-19 15:07:39.888813"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:07:39.890873"], ["updated_at", "2019-01-19 15:07:39.890873"]] ↳ db/seeds.rb:39  (0.4ms) commit transaction ↳ db/seeds.rb:39  (0.1ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:07:39.892516"], ["updated_at", "2019-01-19 15:07:39.892516"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Odit mollitia sit et."], ["body", "Iure deserunt nisi. Occaecati molestiae veniam. Voluptatem labore voluptas."], ["created_at", "2019-01-19 15:07:39.894391"], ["updated_at", "2019-01-19 15:07:39.894391"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:07:39.895992"], ["updated_at", "2019-01-19 15:07:39.895992"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:07:39.897620"], ["updated_at", "2019-01-19 15:07:39.897620"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Necessitatibus quis et suscipit."], ["body", "Ut fuga omnis. Vitae aut recusandae. Voluptatibus modi similique."], ["created_at", "2019-01-19 15:07:39.899413"], ["updated_at", "2019-01-19 15:07:39.899413"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.1ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:07:39.901614"], ["updated_at", "2019-01-19 15:07:39.901614"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:07:39.903526"], ["updated_at", "2019-01-19 15:07:39.903526"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Eligendi cum ab autem."], ["body", "Ea dolor est. Est quam ut. Esse totam dolores."], ["created_at", "2019-01-19 15:07:39.905425"], ["updated_at", "2019-01-19 15:07:39.905425"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:07:39.907119"], ["updated_at", "2019-01-19 15:07:39.907119"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:07:39.908682"], ["updated_at", "2019-01-19 15:07:39.908682"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Error ullam mollitia consequatur."], ["body", "Ea labore saepe. Totam laudantium soluta. Alias nihil est."], ["created_at", "2019-01-19 15:07:39.910546"], ["updated_at", "2019-01-19 15:07:39.910546"]] ↳ db/seeds.rb:37  (0.8ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:07:39.912732"], ["updated_at", "2019-01-19 15:07:39.912732"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:07:39.914459"], ["updated_at", "2019-01-19 15:07:39.914459"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Deleniti nobis illo rerum."], ["body", "Consequuntur fugit qui. Facere consequatur rerum. Voluptatem suscipit ad."], ["created_at", "2019-01-19 15:07:39.916467"], ["updated_at", "2019-01-19 15:07:39.916467"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:07:39.918219"], ["updated_at", "2019-01-19 15:07:39.918219"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:07:39.919782"], ["updated_at", "2019-01-19 15:07:39.919782"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Repudiandae dolorem est et."], ["body", "Consequatur et consequatur. Saepe accusantium neque. Ratione animi sunt."], ["created_at", "2019-01-19 15:07:39.921763"], ["updated_at", "2019-01-19 15:07:39.921763"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:07:39.923900"], ["updated_at", "2019-01-19 15:07:39.923900"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:07:39.925656"], ["updated_at", "2019-01-19 15:07:39.925656"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Tenetur excepturi expedita ullam."], ["body", "Libero totam commodi. Dolore ut odio. Sit dolores recusandae."], ["created_at", "2019-01-19 15:07:39.927444"], ["updated_at", "2019-01-19 15:07:39.927444"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:07:39.929129"], ["updated_at", "2019-01-19 15:07:39.929129"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:07:39.930790"], ["updated_at", "2019-01-19 15:07:39.930790"]] ↳ db/seeds.rb:43  (0.7ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Quia aliquid quas mollitia."], ["body", "Sapiente doloremque dolore. Sed maxime voluptatem. Et velit ullam."], ["created_at", "2019-01-19 15:07:39.932738"], ["updated_at", "2019-01-19 15:07:39.932738"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:07:39.934689"], ["updated_at", "2019-01-19 15:07:39.934689"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:07:39.936397"], ["updated_at", "2019-01-19 15:07:39.936397"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Quia fugiat neque et."], ["body", "Et alias labore. Et minus qui. Facilis harum aliquid."], ["created_at", "2019-01-19 15:07:39.938285"], ["updated_at", "2019-01-19 15:07:39.938285"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:07:39.940041"], ["updated_at", "2019-01-19 15:07:39.940041"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:07:39.941737"], ["updated_at", "2019-01-19 15:07:39.941737"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Sequi eveniet odio explicabo."], ["body", "Eius nemo earum. Ratione qui id. Velit dolores rem."], ["created_at", "2019-01-19 15:07:39.943690"], ["updated_at", "2019-01-19 15:07:39.943690"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 15:07:39.945797"], ["updated_at", "2019-01-19 15:07:39.945797"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:07:39.948024"], ["updated_at", "2019-01-19 15:07:39.948024"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Vel cupiditate in adipisci."], ["body", "Qui ut odit. Nesciunt occaecati necessitatibus. Consequatur blanditiis consectetur."], ["created_at", "2019-01-19 15:07:39.950155"], ["updated_at", "2019-01-19 15:07:39.950155"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:07:39.952390"], ["updated_at", "2019-01-19 15:07:39.952390"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:07:39.954498"], ["updated_at", "2019-01-19 15:07:39.954498"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.5ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Culpa optio praesentium esse."], ["body", "Repudiandae et et. A quis in. Non praesentium eveniet."], ["created_at", "2019-01-19 15:07:39.956851"], ["updated_at", "2019-01-19 15:07:39.956851"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:07:39.959080"], ["updated_at", "2019-01-19 15:07:39.959080"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:07:39.961326"], ["updated_at", "2019-01-19 15:07:39.961326"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Exercitationem debitis nesciunt quo."], ["body", "Veniam non ex. Rem eligendi tenetur. Aspernatur et necessitatibus."], ["created_at", "2019-01-19 15:07:39.964319"], ["updated_at", "2019-01-19 15:07:39.964319"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:07:39.966760"], ["updated_at", "2019-01-19 15:07:39.966760"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:07:39.969166"], ["updated_at", "2019-01-19 15:07:39.969166"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Et laborum debitis repudiandae."], ["body", "Sit beatae iusto. Accusamus et dolorem. Tenetur ut inventore."], ["created_at", "2019-01-19 15:07:39.971374"], ["updated_at", "2019-01-19 15:07:39.971374"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:07:39.973462"], ["updated_at", "2019-01-19 15:07:39.973462"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.1ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.5ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:07:39.975859"], ["updated_at", "2019-01-19 15:07:39.975859"]] ↳ db/seeds.rb:48  (0.8ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Dolore et iusto consequatur."], ["body", "Voluptas voluptatem reiciendis. Laboriosam labore dolor. Eum maiores eveniet."], ["created_at", "2019-01-19 15:07:39.979179"], ["updated_at", "2019-01-19 15:07:39.979179"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:07:39.981572"], ["updated_at", "2019-01-19 15:07:39.981572"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:07:39.983799"], ["updated_at", "2019-01-19 15:07:39.983799"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Aut vitae adipisci explicabo."], ["body", "Placeat distinctio necessitatibus. Qui facere dolorem. Cupiditate nostrum minima."], ["created_at", "2019-01-19 15:07:39.986415"], ["updated_at", "2019-01-19 15:07:39.986415"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 15:07:39.988511"], ["updated_at", "2019-01-19 15:07:39.988511"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:07:39.990313"], ["updated_at", "2019-01-19 15:07:39.990313"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Modi aut sint et."], ["body", "Molestias perferendis ut. Et provident dolorem. Et qui totam."], ["created_at", "2019-01-19 15:07:39.992199"], ["updated_at", "2019-01-19 15:07:39.992199"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:07:39.994199"], ["updated_at", "2019-01-19 15:07:39.994199"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:07:39.996134"], ["updated_at", "2019-01-19 15:07:39.996134"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Maiores sunt aut nobis."], ["body", "Ipsa dolorum ratione. Sunt omnis veritatis. Voluptatem voluptate id."], ["created_at", "2019-01-19 15:07:39.998431"], ["updated_at", "2019-01-19 15:07:39.998431"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.1ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:07:40.000469"], ["updated_at", "2019-01-19 15:07:40.000469"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:07:40.002440"], ["updated_at", "2019-01-19 15:07:40.002440"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Nihil omnis quis possimus."], ["body", "Doloremque ratione ducimus. Illo et mollitia. Ut omnis et."], ["created_at", "2019-01-19 15:07:40.004879"], ["updated_at", "2019-01-19 15:07:40.004879"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:07:40.007300"], ["updated_at", "2019-01-19 15:07:40.007300"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:07:40.009579"], ["updated_at", "2019-01-19 15:07:40.009579"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "properties"], ["created_at", "2019-01-19 15:07:40.016703"], ["updated_at", "2019-01-19 15:07:40.016703"]] ↳ db/seeds.rb:63  (1.1ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "routes"], ["created_at", "2019-01-19 15:07:40.021345"], ["updated_at", "2019-01-19 15:07:40.021345"]] ↳ db/seeds.rb:63  (1.0ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.025218"], ["updated_at", "2019-01-19 15:07:40.025218"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/mailers"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.028230"], ["updated_at", "2019-01-19 15:07:40.028230"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "visitors"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.031001"], ["updated_at", "2019-01-19 15:07:40.031001"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.034022"], ["updated_at", "2019-01-19 15:07:40.034022"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.036763"], ["updated_at", "2019-01-19 15:07:40.036763"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.039374"], ["updated_at", "2019-01-19 15:07:40.039374"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.042247"], ["updated_at", "2019-01-19 15:07:40.042247"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.044570"], ["updated_at", "2019-01-19 15:07:40.044570"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.046545"], ["updated_at", "2019-01-19 15:07:40.046545"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.048648"], ["updated_at", "2019-01-19 15:07:40.048648"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "cancel"], ["created_at", "2019-01-19 15:07:40.050951"], ["updated_at", "2019-01-19 15:07:40.050951"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.052954"], ["updated_at", "2019-01-19 15:07:40.052954"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.054911"], ["updated_at", "2019-01-19 15:07:40.054911"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.057019"], ["updated_at", "2019-01-19 15:07:40.057019"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.058844"], ["updated_at", "2019-01-19 15:07:40.058844"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.060694"], ["updated_at", "2019-01-19 15:07:40.060694"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.062742"], ["updated_at", "2019-01-19 15:07:40.062742"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.064693"], ["updated_at", "2019-01-19 15:07:40.064693"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.066527"], ["updated_at", "2019-01-19 15:07:40.066527"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.068550"], ["updated_at", "2019-01-19 15:07:40.068550"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "show"], ["created_at", "2019-01-19 15:07:40.070387"], ["updated_at", "2019-01-19 15:07:40.070387"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.072373"], ["updated_at", "2019-01-19 15:07:40.072373"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.074824"], ["updated_at", "2019-01-19 15:07:40.074824"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.076914"], ["updated_at", "2019-01-19 15:07:40.076914"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.078864"], ["updated_at", "2019-01-19 15:07:40.078864"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.080919"], ["updated_at", "2019-01-19 15:07:40.080919"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.082757"], ["updated_at", "2019-01-19 15:07:40.082757"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.085119"], ["updated_at", "2019-01-19 15:07:40.085119"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.087243"], ["updated_at", "2019-01-19 15:07:40.087243"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.089275"], ["updated_at", "2019-01-19 15:07:40.089275"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.091149"], ["updated_at", "2019-01-19 15:07:40.091149"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.093189"], ["updated_at", "2019-01-19 15:07:40.093189"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.095153"], ["updated_at", "2019-01-19 15:07:40.095153"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.097725"], ["updated_at", "2019-01-19 15:07:40.097725"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.099781"], ["updated_at", "2019-01-19 15:07:40.099781"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.101815"], ["updated_at", "2019-01-19 15:07:40.101815"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.103960"], ["updated_at", "2019-01-19 15:07:40.103960"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.105852"], ["updated_at", "2019-01-19 15:07:40.105852"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.1ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.108185"], ["updated_at", "2019-01-19 15:07:40.108185"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/disk"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.110434"], ["updated_at", "2019-01-19 15:07:40.110434"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/direct_uploads"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.112531"], ["updated_at", "2019-01-19 15:07:40.112531"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/welcome"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.114439"], ["updated_at", "2019-01-19 15:07:40.114439"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.2ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_clearances"], ["name", "View clearances"], ["description", "View clearances"], ["created_at", "2019-01-19 15:07:40.170342"], ["updated_at", "2019-01-19 15:07:40.170342"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.4ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "clearances"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["created_at", "2019-01-19 15:07:40.198087"], ["updated_at", "2019-01-19 15:07:40.198087"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_clearances"], ["name", "Manage clearances"], ["description", "Manage clearances"], ["created_at", "2019-01-19 15:07:40.200792"], ["updated_at", "2019-01-19 15:07:40.200792"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "clearances"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:07:40.203900"], ["updated_at", "2019-01-19 15:07:40.203900"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:07:40.205215"], ["updated_at", "2019-01-19 15:07:40.205215"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:07:40.206331"], ["updated_at", "2019-01-19 15:07:40.206331"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:07:40.207400"], ["updated_at", "2019-01-19 15:07:40.207400"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:07:40.208433"], ["updated_at", "2019-01-19 15:07:40.208433"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:07:40.209434"], ["updated_at", "2019-01-19 15:07:40.209434"]] ↳ db/seeds.rb:84  (0.5ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_cities"], ["name", "View cities"], ["description", "View cities"], ["created_at", "2019-01-19 15:07:40.211673"], ["updated_at", "2019-01-19 15:07:40.211673"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "cities"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["created_at", "2019-01-19 15:07:40.214854"], ["updated_at", "2019-01-19 15:07:40.214854"]] ↳ db/seeds.rb:84  (0.5ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_cities"], ["name", "Manage cities"], ["description", "Manage cities"], ["created_at", "2019-01-19 15:07:40.217280"], ["updated_at", "2019-01-19 15:07:40.217280"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "cities"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:07:40.220384"], ["updated_at", "2019-01-19 15:07:40.220384"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:07:40.221897"], ["updated_at", "2019-01-19 15:07:40.221897"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:07:40.223082"], ["updated_at", "2019-01-19 15:07:40.223082"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:07:40.224187"], ["updated_at", "2019-01-19 15:07:40.224187"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:07:40.226229"], ["updated_at", "2019-01-19 15:07:40.226229"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:07:40.227877"], ["updated_at", "2019-01-19 15:07:40.227877"]] ↳ db/seeds.rb:84  (0.9ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.3ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_reports"], ["name", "View reports"], ["description", "View reports"], ["created_at", "2019-01-19 15:07:40.231655"], ["updated_at", "2019-01-19 15:07:40.231655"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "reports"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["created_at", "2019-01-19 15:07:40.235975"], ["updated_at", "2019-01-19 15:07:40.235975"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["created_at", "2019-01-19 15:07:40.237703"], ["updated_at", "2019-01-19 15:07:40.237703"]] ↳ db/seeds.rb:84  (0.8ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_reports"], ["name", "Manage reports"], ["description", "Manage reports"], ["created_at", "2019-01-19 15:07:40.240499"], ["updated_at", "2019-01-19 15:07:40.240499"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "reports"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:07:40.244192"], ["updated_at", "2019-01-19 15:07:40.244192"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:07:40.245614"], ["updated_at", "2019-01-19 15:07:40.245614"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:07:40.246679"], ["updated_at", "2019-01-19 15:07:40.246679"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:07:40.247774"], ["updated_at", "2019-01-19 15:07:40.247774"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:07:40.248834"], ["updated_at", "2019-01-19 15:07:40.248834"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:07:40.249929"], ["updated_at", "2019-01-19 15:07:40.249929"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:07:40.251024"], ["updated_at", "2019-01-19 15:07:40.251024"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_announcements"], ["name", "View announcements"], ["description", "View announcements"], ["created_at", "2019-01-19 15:07:40.253248"], ["updated_at", "2019-01-19 15:07:40.253248"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "announcements"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["created_at", "2019-01-19 15:07:40.256693"], ["updated_at", "2019-01-19 15:07:40.256693"]] ↳ db/seeds.rb:84  (0.5ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_announcements"], ["name", "Manage announcements"], ["description", "Manage announcements"], ["created_at", "2019-01-19 15:07:40.259159"], ["updated_at", "2019-01-19 15:07:40.259159"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "announcements"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:07:40.261995"], ["updated_at", "2019-01-19 15:07:40.261995"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:07:40.263317"], ["updated_at", "2019-01-19 15:07:40.263317"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:07:40.264383"], ["updated_at", "2019-01-19 15:07:40.264383"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:07:40.265720"], ["updated_at", "2019-01-19 15:07:40.265720"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "general_director"], ["name", "general_director"], ["description", "general_director"], ["created_at", "2019-01-19 15:07:40.271906"], ["updated_at", "2019-01-19 15:07:40.271906"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.4ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.285484"], ["updated_at", "2019-01-19 15:07:40.285484"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.287458"], ["updated_at", "2019-01-19 15:07:40.287458"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.288925"], ["updated_at", "2019-01-19 15:07:40.288925"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.290318"], ["updated_at", "2019-01-19 15:07:40.290318"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.291562"], ["updated_at", "2019-01-19 15:07:40.291562"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.292807"], ["updated_at", "2019-01-19 15:07:40.292807"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.294096"], ["updated_at", "2019-01-19 15:07:40.294096"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 1], ["created_at", "2019-01-19 15:07:40.295264"], ["updated_at", "2019-01-19 15:07:40.295264"]] ↳ db/seeds.rb:103  (1.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 15:07:40.308526"], ["updated_at", "2019-01-19 15:07:40.308526"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_director"], ["name", "ny_director"], ["description", "ny_director"], ["created_at", "2019-01-19 15:07:40.311220"], ["updated_at", "2019-01-19 15:07:40.311220"]] ↳ db/seeds.rb:95  (0.4ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.314219"], ["updated_at", "2019-01-19 15:07:40.314219"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.315488"], ["updated_at", "2019-01-19 15:07:40.315488"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.316557"], ["updated_at", "2019-01-19 15:07:40.316557"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.317618"], ["updated_at", "2019-01-19 15:07:40.317618"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.318707"], ["updated_at", "2019-01-19 15:07:40.318707"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.319710"], ["updated_at", "2019-01-19 15:07:40.319710"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.321061"], ["updated_at", "2019-01-19 15:07:40.321061"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 2], ["created_at", "2019-01-19 15:07:40.322184"], ["updated_at", "2019-01-19 15:07:40.322184"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["created_at", "2019-01-19 15:07:40.325322"], ["updated_at", "2019-01-19 15:07:40.325322"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.1ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_director"], ["name", "sf_director"], ["description", "sf_director"], ["created_at", "2019-01-19 15:07:40.328058"], ["updated_at", "2019-01-19 15:07:40.328058"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.331213"], ["updated_at", "2019-01-19 15:07:40.331213"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.332595"], ["updated_at", "2019-01-19 15:07:40.332595"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.333697"], ["updated_at", "2019-01-19 15:07:40.333697"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.334910"], ["updated_at", "2019-01-19 15:07:40.334910"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.336034"], ["updated_at", "2019-01-19 15:07:40.336034"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.337047"], ["updated_at", "2019-01-19 15:07:40.337047"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.338093"], ["updated_at", "2019-01-19 15:07:40.338093"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 3], ["created_at", "2019-01-19 15:07:40.339137"], ["updated_at", "2019-01-19 15:07:40.339137"]] ↳ db/seeds.rb:103  (0.8ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["created_at", "2019-01-19 15:07:40.341851"], ["updated_at", "2019-01-19 15:07:40.341851"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_agent"], ["name", "ny_agent"], ["description", "ny_agent"], ["created_at", "2019-01-19 15:07:40.344175"], ["updated_at", "2019-01-19 15:07:40.344175"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.347060"], ["updated_at", "2019-01-19 15:07:40.347060"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.348296"], ["updated_at", "2019-01-19 15:07:40.348296"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.349420"], ["updated_at", "2019-01-19 15:07:40.349420"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.350418"], ["updated_at", "2019-01-19 15:07:40.350418"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.351593"], ["updated_at", "2019-01-19 15:07:40.351593"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.352760"], ["updated_at", "2019-01-19 15:07:40.352760"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.353804"], ["updated_at", "2019-01-19 15:07:40.353804"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 4], ["created_at", "2019-01-19 15:07:40.354795"], ["updated_at", "2019-01-19 15:07:40.354795"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["created_at", "2019-01-19 15:07:40.357488"], ["updated_at", "2019-01-19 15:07:40.357488"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_agent"], ["name", "sf_agent"], ["description", "sf_agent"], ["created_at", "2019-01-19 15:07:40.359856"], ["updated_at", "2019-01-19 15:07:40.359856"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.362675"], ["updated_at", "2019-01-19 15:07:40.362675"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.363909"], ["updated_at", "2019-01-19 15:07:40.363909"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.364984"], ["updated_at", "2019-01-19 15:07:40.364984"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.366016"], ["updated_at", "2019-01-19 15:07:40.366016"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.367183"], ["updated_at", "2019-01-19 15:07:40.367183"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.368315"], ["updated_at", "2019-01-19 15:07:40.368315"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.369601"], ["updated_at", "2019-01-19 15:07:40.369601"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 5], ["created_at", "2019-01-19 15:07:40.370639"], ["updated_at", "2019-01-19 15:07:40.370639"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["created_at", "2019-01-19 15:07:40.373972"], ["updated_at", "2019-01-19 15:07:40.373972"]] ↳ db/seeds.rb:106  (0.8ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_auditor"], ["name", "ny_auditor"], ["description", "ny_auditor"], ["created_at", "2019-01-19 15:07:40.377350"], ["updated_at", "2019-01-19 15:07:40.377350"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 6], ["created_at", "2019-01-19 15:07:40.380855"], ["updated_at", "2019-01-19 15:07:40.380855"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 6], ["created_at", "2019-01-19 15:07:40.382899"], ["updated_at", "2019-01-19 15:07:40.382899"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 6], ["created_at", "2019-01-19 15:07:40.384208"], ["updated_at", "2019-01-19 15:07:40.384208"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 6], ["created_at", "2019-01-19 15:07:40.385488"], ["updated_at", "2019-01-19 15:07:40.385488"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["created_at", "2019-01-19 15:07:40.389062"], ["updated_at", "2019-01-19 15:07:40.389062"]] ↳ db/seeds.rb:106  (0.4ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_auditor"], ["name", "sf_auditor"], ["description", "sf_auditor"], ["created_at", "2019-01-19 15:07:40.391726"], ["updated_at", "2019-01-19 15:07:40.391726"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 7], ["created_at", "2019-01-19 15:07:40.395177"], ["updated_at", "2019-01-19 15:07:40.395177"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 7], ["created_at", "2019-01-19 15:07:40.396586"], ["updated_at", "2019-01-19 15:07:40.396586"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 7], ["created_at", "2019-01-19 15:07:40.397939"], ["updated_at", "2019-01-19 15:07:40.397939"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 7], ["created_at", "2019-01-19 15:07:40.399240"], ["updated_at", "2019-01-19 15:07:40.399240"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["created_at", "2019-01-19 15:07:40.402400"], ["updated_at", "2019-01-19 15:07:40.402400"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:113  (0.0ms) begin transaction ↳ db/seeds.rb:114 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:114  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.4ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 15:07:40.410867"], ["updated_at", "2019-01-19 15:07:40.410867"]] ↳ db/seeds.rb:114  (0.7ms) commit transaction ↳ db/seeds.rb:114  (0.0ms) begin transaction ↳ db/seeds.rb:115 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:115  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 15:07:40.413797"], ["updated_at", "2019-01-19 15:07:40.413797"]] ↳ db/seeds.rb:115  (0.5ms) commit transaction ↳ db/seeds.rb:115 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'ny%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["keyword", "New York"], ["created_at", "2019-01-19 15:07:40.416582"], ["updated_at", "2019-01-19 15:07:40.416582"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["keyword", "New York"], ["created_at", "2019-01-19 15:07:40.418997"], ["updated_at", "2019-01-19 15:07:40.418997"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["keyword", "New York"], ["created_at", "2019-01-19 15:07:40.421540"], ["updated_at", "2019-01-19 15:07:40.421540"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'sf%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:07:40.424486"], ["updated_at", "2019-01-19 15:07:40.424486"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:07:40.426967"], ["updated_at", "2019-01-19 15:07:40.426967"]] ↳ db/seeds.rb:123  (0.5ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:07:40.429348"], ["updated_at", "2019-01-19 15:07:40.429348"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_director"], ["name", "sf_director"]] ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["keyword", "All"], ["created_at", "2019-01-19 15:07:40.432012"], ["updated_at", "2019-01-19 15:07:40.432012"]] ↳ db/seeds.rb:129  (0.6ms) commit transaction ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["keyword", "All"], ["created_at", "2019-01-19 15:07:40.434399"], ["updated_at", "2019-01-19 15:07:40.434399"]] ↳ db/seeds.rb:129  (0.8ms) commit transaction ↳ db/seeds.rb:129 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_agent"], ["name", "sf_agent"]] ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["keyword", "secret"], ["created_at", "2019-01-19 15:07:40.442008"], ["updated_at", "2019-01-19 15:07:40.442008"]] ↳ db/seeds.rb:133  (0.7ms) commit transaction ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["keyword", "secret"], ["created_at", "2019-01-19 15:07:40.444659"], ["updated_at", "2019-01-19 15:07:40.444659"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE '%auditor%') ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["keyword", "All"], ["created_at", "2019-01-19 15:07:40.447420"], ["updated_at", "2019-01-19 15:07:40.447420"]] ↳ db/seeds.rb:137  (0.6ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["keyword", "All"], ["created_at", "2019-01-19 15:07:40.449956"], ["updated_at", "2019-01-19 15:07:40.449956"]] ↳ db/seeds.rb:137  (0.6ms) commit transaction ↳ db/seeds.rb:137  (0.1ms) begin transaction ↳ db/seeds.rb:142 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny and sf"], ["created_at", "2019-01-19 15:07:40.457003"], ["updated_at", "2019-01-19 15:07:40.457003"]] ↳ db/seeds.rb:142  (0.8ms) commit transaction ↳ db/seeds.rb:142  (0.0ms) begin transaction ↳ db/seeds.rb:143 AnnouncementCity Create (0.4ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 1], ["created_at", "2019-01-19 15:07:40.469036"], ["updated_at", "2019-01-19 15:07:40.469036"]] ↳ db/seeds.rb:143 AnnouncementCity Create (0.1ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 2], ["created_at", "2019-01-19 15:07:40.470325"], ["updated_at", "2019-01-19 15:07:40.470325"]] ↳ db/seeds.rb:143  (0.7ms) commit transaction ↳ db/seeds.rb:143  (0.0ms) begin transaction ↳ db/seeds.rb:145 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny"], ["created_at", "2019-01-19 15:07:40.471940"], ["updated_at", "2019-01-19 15:07:40.471940"]] ↳ db/seeds.rb:145  (0.5ms) commit transaction ↳ db/seeds.rb:145  (0.0ms) begin transaction ↳ db/seeds.rb:146 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["city_id", 1], ["created_at", "2019-01-19 15:07:40.474083"], ["updated_at", "2019-01-19 15:07:40.474083"]] ↳ db/seeds.rb:146  (0.5ms) commit transaction ↳ db/seeds.rb:146  (0.0ms) begin transaction ↳ db/seeds.rb:148 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for sf"], ["created_at", "2019-01-19 15:07:40.475583"], ["updated_at", "2019-01-19 15:07:40.475583"]] ↳ db/seeds.rb:148  (0.4ms) commit transaction ↳ db/seeds.rb:148  (0.0ms) begin transaction ↳ db/seeds.rb:149 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 3], ["city_id", 2], ["created_at", "2019-01-19 15:07:40.477541"], ["updated_at", "2019-01-19 15:07:40.477541"]] ↳ db/seeds.rb:149  (0.6ms) commit transaction ↳ db/seeds.rb:149  (0.0ms) begin transaction ↳ db/seeds.rb:151 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for no one"], ["created_at", "2019-01-19 15:07:40.479141"], ["updated_at", "2019-01-19 15:07:40.479141"]] ↳ db/seeds.rb:151  (0.5ms) commit transaction ↳ db/seeds.rb:151  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.481458"], ["updated_at", "2019-01-19 15:07:40.481458"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.483681"], ["updated_at", "2019-01-19 15:07:40.483681"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.485660"], ["updated_at", "2019-01-19 15:07:40.485660"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.487565"], ["updated_at", "2019-01-19 15:07:40.487565"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.489512"], ["updated_at", "2019-01-19 15:07:40.489512"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 15:07:40.491540"], ["updated_at", "2019-01-19 15:07:40.491540"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.493604"], ["updated_at", "2019-01-19 15:07:40.493604"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.496125"], ["updated_at", "2019-01-19 15:07:40.496125"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.498571"], ["updated_at", "2019-01-19 15:07:40.498571"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.501426"], ["updated_at", "2019-01-19 15:07:40.501426"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.504310"], ["updated_at", "2019-01-19 15:07:40.504310"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.506956"], ["updated_at", "2019-01-19 15:07:40.506956"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 15:07:40.509212"], ["updated_at", "2019-01-19 15:07:40.509212"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.511577"], ["updated_at", "2019-01-19 15:07:40.511577"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.513818"], ["updated_at", "2019-01-19 15:07:40.513818"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.515963"], ["updated_at", "2019-01-19 15:07:40.515963"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.518088"], ["updated_at", "2019-01-19 15:07:40.518088"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.519937"], ["updated_at", "2019-01-19 15:07:40.519937"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.521762"], ["updated_at", "2019-01-19 15:07:40.521762"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.523659"], ["updated_at", "2019-01-19 15:07:40.523659"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 15:07:40.526019"], ["updated_at", "2019-01-19 15:07:40.526019"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.528091"], ["updated_at", "2019-01-19 15:07:40.528091"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.529945"], ["updated_at", "2019-01-19 15:07:40.529945"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 15:07:40.531888"], ["updated_at", "2019-01-19 15:07:40.531888"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.533683"], ["updated_at", "2019-01-19 15:07:40.533683"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 15:07:40.536063"], ["updated_at", "2019-01-19 15:07:40.536063"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.538200"], ["updated_at", "2019-01-19 15:07:40.538200"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.540166"], ["updated_at", "2019-01-19 15:07:40.540166"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.542284"], ["updated_at", "2019-01-19 15:07:40.542284"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.544298"], ["updated_at", "2019-01-19 15:07:40.544298"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 15:07:40.546317"], ["updated_at", "2019-01-19 15:07:40.546317"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.549823"], ["updated_at", "2019-01-19 15:07:40.549823"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 15:07:40.553108"], ["updated_at", "2019-01-19 15:07:40.553108"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 15:07:40.555373"], ["updated_at", "2019-01-19 15:07:40.555373"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 15:07:40.557662"], ["updated_at", "2019-01-19 15:07:40.557662"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 15:07:40.559758"], ["updated_at", "2019-01-19 15:07:40.559758"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 15:07:40.562364"], ["updated_at", "2019-01-19 15:07:40.562364"]] ↳ db/seeds.rb:166  (0.4ms) commit transaction ↳ db/seeds.rb:166 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') ↳ db/seeds.rb:167  (0.1ms) begin transaction ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.565878"], ["updated_at", "2019-01-19 15:07:40.565878"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.567248"], ["updated_at", "2019-01-19 15:07:40.567248"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.568424"], ["updated_at", "2019-01-19 15:07:40.568424"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.570024"], ["updated_at", "2019-01-19 15:07:40.570024"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.571410"], ["updated_at", "2019-01-19 15:07:40.571410"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.572523"], ["updated_at", "2019-01-19 15:07:40.572523"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.573591"], ["updated_at", "2019-01-19 15:07:40.573591"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.574653"], ["updated_at", "2019-01-19 15:07:40.574653"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.575827"], ["updated_at", "2019-01-19 15:07:40.575827"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.577027"], ["updated_at", "2019-01-19 15:07:40.577027"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.578078"], ["updated_at", "2019-01-19 15:07:40.578078"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.579170"], ["updated_at", "2019-01-19 15:07:40.579170"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.580212"], ["updated_at", "2019-01-19 15:07:40.580212"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.581290"], ["updated_at", "2019-01-19 15:07:40.581290"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.582353"], ["updated_at", "2019-01-19 15:07:40.582353"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.583406"], ["updated_at", "2019-01-19 15:07:40.583406"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.584457"], ["updated_at", "2019-01-19 15:07:40.584457"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.585512"], ["updated_at", "2019-01-19 15:07:40.585512"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.586595"], ["updated_at", "2019-01-19 15:07:40.586595"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.587718"], ["updated_at", "2019-01-19 15:07:40.587718"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.588784"], ["updated_at", "2019-01-19 15:07:40.588784"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.589854"], ["updated_at", "2019-01-19 15:07:40.589854"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.590870"], ["updated_at", "2019-01-19 15:07:40.590870"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.591895"], ["updated_at", "2019-01-19 15:07:40.591895"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.592866"], ["updated_at", "2019-01-19 15:07:40.592866"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.593812"], ["updated_at", "2019-01-19 15:07:40.593812"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.594891"], ["updated_at", "2019-01-19 15:07:40.594891"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.595846"], ["updated_at", "2019-01-19 15:07:40.595846"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.596784"], ["updated_at", "2019-01-19 15:07:40.596784"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.597745"], ["updated_at", "2019-01-19 15:07:40.597745"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.598706"], ["updated_at", "2019-01-19 15:07:40.598706"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.599647"], ["updated_at", "2019-01-19 15:07:40.599647"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.600770"], ["updated_at", "2019-01-19 15:07:40.600770"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.601758"], ["updated_at", "2019-01-19 15:07:40.601758"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.602720"], ["updated_at", "2019-01-19 15:07:40.602720"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:07:40.603667"], ["updated_at", "2019-01-19 15:07:40.603667"]] ↳ db/seeds.rb:167  (0.8ms) commit transaction ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:170 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "auth_admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Auth Admin"], ["LIMIT", 1]] ↳ db/seeds.rb:170 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "auth_admin"], ["name", "Auth Admin"], ["description", "Auth Admin"], ["created_at", "2019-01-19 15:07:40.606019"], ["updated_at", "2019-01-19 15:07:40.606019"]] ↳ db/seeds.rb:170  (0.4ms) commit transaction ↳ db/seeds.rb:170  (0.0ms) begin transaction ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 8], ["created_at", "2019-01-19 15:07:40.608283"], ["updated_at", "2019-01-19 15:07:40.608283"]] ↳ db/seeds.rb:171  (0.6ms) commit transaction ↳ db/seeds.rb:171  (0.0ms) begin transaction ↳ db/seeds.rb:174 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 8], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:174 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 8], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 15:07:40.610664"], ["updated_at", "2019-01-19 15:07:40.610664"]] ↳ db/seeds.rb:174  (0.5ms) commit transaction ↳ db/seeds.rb:174 Started GET "/" for 127.0.0.1 at 2019-01-20 02:07:57 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (7.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Rendered layouts/_flash.html.slim (2.4ms) Completed 200 OK in 507ms (Views: 504.3ms | ActiveRecord: 0.6ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 02:08:02 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (424.6ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 464ms (Views: 461.6ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 11]] User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.2ms) SELECT "authz_roles"."code" FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 02:08:43 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KTW6/dCKusQ0KCZmiPYzj+RLP4sbdRvgUi99ZFdwh473u1aBavxs2mLP2E8ciLZHsJRrqOARCf21GDPWjco6Mw==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 125ms (ActiveRecord: 0.2ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-20 02:08:43 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 8], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Completed 404 Not Found in 73ms (ActiveRecord: 2.9ms) ActiveRecord::RecordNotFound - Couldn't find Authz::ScopingRule with [WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ?]: app/controllers/reports_controller.rb:7:in `index' Started POST "/__better_errors/a31df3dff7dd75f4/variables" for 127.0.0.1 at 2019-01-20 02:08:43 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.6ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 15:10:59.791851"], ["updated_at", "2019-01-19 15:10:59.791851"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14  (0.0ms) commit transaction ↳ bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.7ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.5ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.5ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.5ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-19 15:10:59.837516"], ["updated_at", "2019-01-19 15:10:59.837516"]] ↳ db/schema.rb:13  (0.4ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ bin/rails:14  (0.0ms) begin transaction ↳ bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-19 15:10:59.839445"], ["key", "environment"]] ↳ bin/rails:14  (0.5ms) commit transaction ↳ bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ bin/rails:14  (0.0ms) begin transaction ↳ db/seeds.rb:3 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:3 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "general_director@cia.com"], ["encrypted_password", "$2a$11$XR1zb.wxycT4tyhRh2fjc.tU98kIiBmziL9YFkQ5NIqNoh9VkKi4q"], ["created_at", "2019-01-19 15:10:59.945673"], ["updated_at", "2019-01-19 15:10:59.945673"]] ↳ db/seeds.rb:3  (1.7ms) commit transaction ↳ db/seeds.rb:3  (0.0ms) begin transaction ↳ db/seeds.rb:4 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:4 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_director@cia.com"], ["encrypted_password", "$2a$11$KD/l5mk8BlnWufjkFNc71u.gR8mQsRvkTGWHAffNXYm6OYXbpP/py"], ["created_at", "2019-01-19 15:11:00.046965"], ["updated_at", "2019-01-19 15:11:00.046965"]] ↳ db/seeds.rb:4  (1.3ms) commit transaction ↳ db/seeds.rb:4  (0.0ms) begin transaction ↳ db/seeds.rb:5 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_director@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:5 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_director@cia.com"], ["encrypted_password", "$2a$11$5Uf5u7WmMC0Fwv2TGj00nuJAGkL01MXqGbBRcp2fWA3bqQ1ls2G6a"], ["created_at", "2019-01-19 15:11:00.136482"], ["updated_at", "2019-01-19 15:11:00.136482"]] ↳ db/seeds.rb:5  (1.8ms) commit transaction ↳ db/seeds.rb:5  (0.1ms) begin transaction ↳ db/seeds.rb:6 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:6 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_agent@cia.com"], ["encrypted_password", "$2a$11$hvrFVmwn0dc6s9gKjd0hxOltUQDMKQV7WBvpSqvj2X9wgHZw9Veve"], ["created_at", "2019-01-19 15:11:00.234921"], ["updated_at", "2019-01-19 15:11:00.234921"]] ↳ db/seeds.rb:6  (1.3ms) commit transaction ↳ db/seeds.rb:6  (0.0ms) begin transaction ↳ db/seeds.rb:7 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_agent@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:7 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_agent@cia.com"], ["encrypted_password", "$2a$11$g4qienKJbYmlx2GKCdsbYOXvqfoWWEdekAjjBMMcHLgl5TZPVvcre"], ["created_at", "2019-01-19 15:11:00.332719"], ["updated_at", "2019-01-19 15:11:00.332719"]] ↳ db/seeds.rb:7  (1.2ms) commit transaction ↳ db/seeds.rb:7  (0.0ms) begin transaction ↳ db/seeds.rb:8 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:8 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "ny_auditor@cia.com"], ["encrypted_password", "$2a$11$u9c8apmdA46F4HjT7ghbvezaIrVcrj0kOh7zPVUi6smgsaX9C21gq"], ["created_at", "2019-01-19 15:11:00.425429"], ["updated_at", "2019-01-19 15:11:00.425429"]] ↳ db/seeds.rb:8  (1.2ms) commit transaction ↳ db/seeds.rb:8  (0.0ms) begin transaction ↳ db/seeds.rb:9 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sf_auditor@cia.com"], ["LIMIT", 1]] ↳ db/seeds.rb:9 User Create (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sf_auditor@cia.com"], ["encrypted_password", "$2a$11$jydCBaPHEURWTDxMguVchOXRWTSATGEtO2t9t821KWovuww7Jx3TG"], ["created_at", "2019-01-19 15:11:00.521349"], ["updated_at", "2019-01-19 15:11:00.521349"]] ↳ db/seeds.rb:9  (1.6ms) commit transaction ↳ db/seeds.rb:9  (0.0ms) begin transaction ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 2], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "top-secret"], ["LIMIT", 1]] ↳ db/seeds.rb:13 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 2], ["name", "top-secret"], ["created_at", "2019-01-19 15:11:00.535992"], ["updated_at", "2019-01-19 15:11:00.535992"]] ↳ db/seeds.rb:13  (1.1ms) commit transaction ↳ db/seeds.rb:13  (0.1ms) begin transaction ↳ db/seeds.rb:14 Clearance Exists (0.3ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."level" = ? LIMIT ? [["level", 1], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Exists (0.1ms) SELECT 1 AS one FROM "clearances" WHERE "clearances"."name" = ? LIMIT ? [["name", "secret"], ["LIMIT", 1]] ↳ db/seeds.rb:14 Clearance Create (0.3ms) INSERT INTO "clearances" ("level", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["level", 1], ["name", "secret"], ["created_at", "2019-01-19 15:11:00.541011"], ["updated_at", "2019-01-19 15:11:00.541011"]] ↳ db/seeds.rb:14  (0.8ms) commit transaction ↳ db/seeds.rb:14  (0.0ms) begin transaction ↳ db/seeds.rb:18 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "New York"], ["LIMIT", 1]] ↳ db/seeds.rb:18 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "New York"], ["created_at", "2019-01-19 15:11:00.551233"], ["updated_at", "2019-01-19 15:11:00.551233"]] ↳ db/seeds.rb:18  (0.6ms) commit transaction ↳ db/seeds.rb:18  (0.0ms) begin transaction ↳ db/seeds.rb:19 City Exists (0.1ms) SELECT 1 AS one FROM "cities" WHERE "cities"."name" = ? LIMIT ? [["name", "San Francisco"], ["LIMIT", 1]] ↳ db/seeds.rb:19 City Create (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "San Francisco"], ["created_at", "2019-01-19 15:11:00.553401"], ["updated_at", "2019-01-19 15:11:00.553401"]] ↳ db/seeds.rb:19  (0.6ms) commit transaction ↳ db/seeds.rb:19  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Suscipit magni incidunt dicta."], ["body", "Porro maiores et. Aliquid autem nemo. Corporis sint nihil."], ["created_at", "2019-01-19 15:11:01.076062"], ["updated_at", "2019-01-19 15:11:01.076062"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 15:11:01.087185"], ["updated_at", "2019-01-19 15:11:01.087185"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 1], ["user_id", 4], ["score", 4], ["created_at", "2019-01-19 15:11:01.089381"], ["updated_at", "2019-01-19 15:11:01.089381"]] ↳ db/seeds.rb:27  (0.5ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptatem rem occaecati dolorem."], ["body", "Aspernatur doloremque a. Dicta officiis quia. Accusamus et aperiam."], ["created_at", "2019-01-19 15:11:01.091449"], ["updated_at", "2019-01-19 15:11:01.091449"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 2], ["created_at", "2019-01-19 15:11:01.093322"], ["updated_at", "2019-01-19 15:11:01.093322"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 2], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:11:01.095050"], ["updated_at", "2019-01-19 15:11:01.095050"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Ex illum deserunt distinctio."], ["body", "Aut repellat ut. Laborum molestias sunt. Quis alias unde."], ["created_at", "2019-01-19 15:11:01.097137"], ["updated_at", "2019-01-19 15:11:01.097137"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.8ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 15:11:01.099271"], ["updated_at", "2019-01-19 15:11:01.099271"]] ↳ db/seeds.rb:27  (0.9ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 3], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 15:11:01.102819"], ["updated_at", "2019-01-19 15:11:01.102819"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Quia veniam facilis qui."], ["body", "Numquam totam nihil. Accusantium nulla occaecati. Officia voluptates dicta."], ["created_at", "2019-01-19 15:11:01.105259"], ["updated_at", "2019-01-19 15:11:01.105259"]] ↳ db/seeds.rb:29  (1.0ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:11:01.107909"], ["updated_at", "2019-01-19 15:11:01.107909"]] ↳ db/seeds.rb:31  (0.9ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 4], ["user_id", 5], ["score", 5], ["created_at", "2019-01-19 15:11:01.110403"], ["updated_at", "2019-01-19 15:11:01.110403"]] ↳ db/seeds.rb:31  (0.8ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Rerum placeat ea et."], ["body", "Optio sunt aut. Excepturi rerum voluptates. Alias fugiat et."], ["created_at", "2019-01-19 15:11:01.113046"], ["updated_at", "2019-01-19 15:11:01.113046"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:11:01.115022"], ["updated_at", "2019-01-19 15:11:01.115022"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 5], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 15:11:01.116851"], ["updated_at", "2019-01-19 15:11:01.116851"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Atque libero id tempore."], ["body", "Quis optio voluptas. Et consequatur odio. Aliquam autem at."], ["created_at", "2019-01-19 15:11:01.118835"], ["updated_at", "2019-01-19 15:11:01.118835"]] ↳ db/seeds.rb:29  (0.7ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 15:11:01.120836"], ["updated_at", "2019-01-19 15:11:01.120836"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 6], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 15:11:01.122711"], ["updated_at", "2019-01-19 15:11:01.122711"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Unde facilis rem molestiae."], ["body", "Ea odio est. Quidem numquam ut. Libero et doloribus."], ["created_at", "2019-01-19 15:11:01.124672"], ["updated_at", "2019-01-19 15:11:01.124672"]] ↳ db/seeds.rb:25  (0.7ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:11:01.126512"], ["updated_at", "2019-01-19 15:11:01.126512"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 7], ["user_id", 4], ["score", 5], ["created_at", "2019-01-19 15:11:01.128199"], ["updated_at", "2019-01-19 15:11:01.128199"]] ↳ db/seeds.rb:27  (0.7ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Voluptatum nihil placeat quis."], ["body", "Alias illo fuga. Libero voluptas nam. Et voluptas quia."], ["created_at", "2019-01-19 15:11:01.130275"], ["updated_at", "2019-01-19 15:11:01.130275"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 15:11:01.132107"], ["updated_at", "2019-01-19 15:11:01.132107"]] ↳ db/seeds.rb:31  (0.7ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 8], ["user_id", 5], ["score", 4], ["created_at", "2019-01-19 15:11:01.133902"], ["updated_at", "2019-01-19 15:11:01.133902"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:25 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 4], ["clearance_id", 2], ["city_id", 1], ["title", "Rerum maiores sit iusto."], ["body", "Et neque expedita. Sed ex vel. Et id ea."], ["created_at", "2019-01-19 15:11:01.135884"], ["updated_at", "2019-01-19 15:11:01.135884"]] ↳ db/seeds.rb:25  (0.6ms) commit transaction ↳ db/seeds.rb:25  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 2], ["created_at", "2019-01-19 15:11:01.137730"], ["updated_at", "2019-01-19 15:11:01.137730"]] ↳ db/seeds.rb:27  (0.6ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:27 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 9], ["user_id", 4], ["score", 1], ["created_at", "2019-01-19 15:11:01.139425"], ["updated_at", "2019-01-19 15:11:01.139425"]] ↳ db/seeds.rb:27  (0.8ms) commit transaction ↳ db/seeds.rb:27  (0.0ms) begin transaction ↳ db/seeds.rb:29 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 5], ["clearance_id", 2], ["city_id", 2], ["title", "Debitis possimus accusantium consequatur."], ["body", "Voluptas nihil eaque. Quia nemo fugit. Veritatis vel dignissimos."], ["created_at", "2019-01-19 15:11:01.141762"], ["updated_at", "2019-01-19 15:11:01.141762"]] ↳ db/seeds.rb:29  (0.6ms) commit transaction ↳ db/seeds.rb:29  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 1], ["created_at", "2019-01-19 15:11:01.143738"], ["updated_at", "2019-01-19 15:11:01.143738"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:31 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 10], ["user_id", 5], ["score", 3], ["created_at", "2019-01-19 15:11:01.145445"], ["updated_at", "2019-01-19 15:11:01.145445"]] ↳ db/seeds.rb:31  (0.6ms) commit transaction ↳ db/seeds.rb:31  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Nihil magnam autem nulla."], ["body", "Nulla enim nihil. Iste mollitia expedita. Voluptatum adipisci aut."], ["created_at", "2019-01-19 15:11:01.147366"], ["updated_at", "2019-01-19 15:11:01.147366"]] ↳ db/seeds.rb:37  (0.8ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:11:01.149504"], ["updated_at", "2019-01-19 15:11:01.149504"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 11], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:11:01.151345"], ["updated_at", "2019-01-19 15:11:01.151345"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Est impedit ex ullam."], ["body", "Animi nulla officiis. Earum qui sit. Consequuntur voluptatibus est."], ["created_at", "2019-01-19 15:11:01.153371"], ["updated_at", "2019-01-19 15:11:01.153371"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:11:01.155250"], ["updated_at", "2019-01-19 15:11:01.155250"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 12], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:11:01.157078"], ["updated_at", "2019-01-19 15:11:01.157078"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "In velit delectus earum."], ["body", "Excepturi ea et. Omnis non maiores. Sit dolor consectetur."], ["created_at", "2019-01-19 15:11:01.159124"], ["updated_at", "2019-01-19 15:11:01.159124"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 3], ["created_at", "2019-01-19 15:11:01.160917"], ["updated_at", "2019-01-19 15:11:01.160917"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 13], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:11:01.162648"], ["updated_at", "2019-01-19 15:11:01.162648"]] ↳ db/seeds.rb:39  (0.8ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Sint ratione rerum officiis."], ["body", "Ut nobis perferendis. Non nulla id. Voluptatem hic atque."], ["created_at", "2019-01-19 15:11:01.164854"], ["updated_at", "2019-01-19 15:11:01.164854"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:11:01.166744"], ["updated_at", "2019-01-19 15:11:01.166744"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 14], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:11:01.168445"], ["updated_at", "2019-01-19 15:11:01.168445"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Temporibus et voluptatem aut."], ["body", "Adipisci tempora aut. Dolor molestiae facilis. Aperiam inventore est."], ["created_at", "2019-01-19 15:11:01.170379"], ["updated_at", "2019-01-19 15:11:01.170379"]] ↳ db/seeds.rb:37  (0.8ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:11:01.172322"], ["updated_at", "2019-01-19 15:11:01.172322"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 15], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:11:01.173935"], ["updated_at", "2019-01-19 15:11:01.173935"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Nihil sapiente distinctio dolore."], ["body", "Et assumenda aliquid. Tenetur cupiditate sit. Consequuntur modi tempore."], ["created_at", "2019-01-19 15:11:01.176007"], ["updated_at", "2019-01-19 15:11:01.176007"]] ↳ db/seeds.rb:41  (0.5ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:11:01.177870"], ["updated_at", "2019-01-19 15:11:01.177870"]] ↳ db/seeds.rb:43  (0.8ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 16], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:11:01.179832"], ["updated_at", "2019-01-19 15:11:01.179832"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Facilis corrupti fuga repudiandae."], ["body", "Laborum commodi id. Nihil voluptatum laborum. Aut veritatis et."], ["created_at", "2019-01-19 15:11:01.181807"], ["updated_at", "2019-01-19 15:11:01.181807"]] ↳ db/seeds.rb:37  (0.6ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:11:01.183678"], ["updated_at", "2019-01-19 15:11:01.183678"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 17], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:11:01.185467"], ["updated_at", "2019-01-19 15:11:01.185467"]] ↳ db/seeds.rb:39  (0.6ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Excepturi consequatur corporis vel."], ["body", "Sit quis omnis. Odio repudiandae deserunt. Eum rerum mollitia."], ["created_at", "2019-01-19 15:11:01.187462"], ["updated_at", "2019-01-19 15:11:01.187462"]] ↳ db/seeds.rb:41  (0.6ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:11:01.189261"], ["updated_at", "2019-01-19 15:11:01.189261"]] ↳ db/seeds.rb:43  (0.6ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 18], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:11:01.190913"], ["updated_at", "2019-01-19 15:11:01.190913"]] ↳ db/seeds.rb:43  (0.8ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:37 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 2], ["city_id", 1], ["title", "Quia ipsa molestiae neque."], ["body", "Quas autem omnis. Maxime officiis unde. Incidunt deleniti sunt."], ["created_at", "2019-01-19 15:11:01.193054"], ["updated_at", "2019-01-19 15:11:01.193054"]] ↳ db/seeds.rb:37  (0.7ms) commit transaction ↳ db/seeds.rb:37  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:11:01.195115"], ["updated_at", "2019-01-19 15:11:01.195115"]] ↳ db/seeds.rb:39  (0.7ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:39 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 19], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:11:01.197414"], ["updated_at", "2019-01-19 15:11:01.197414"]] ↳ db/seeds.rb:39  (0.5ms) commit transaction ↳ db/seeds.rb:39  (0.0ms) begin transaction ↳ db/seeds.rb:41 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 2], ["city_id", 2], ["title", "Assumenda esse neque dolorem."], ["body", "At in amet. Non optio aut. Architecto asperiores quia."], ["created_at", "2019-01-19 15:11:01.199444"], ["updated_at", "2019-01-19 15:11:01.199444"]] ↳ db/seeds.rb:41  (0.7ms) commit transaction ↳ db/seeds.rb:41  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 3], ["created_at", "2019-01-19 15:11:01.201297"], ["updated_at", "2019-01-19 15:11:01.201297"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:43 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 20], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:11:01.202883"], ["updated_at", "2019-01-19 15:11:01.202883"]] ↳ db/seeds.rb:43  (0.5ms) commit transaction ↳ db/seeds.rb:43  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Sunt et quis occaecati."], ["body", "Blanditiis sunt quaerat. Hic occaecati fuga. Dolor maiores ipsam."], ["created_at", "2019-01-19 15:11:01.204753"], ["updated_at", "2019-01-19 15:11:01.204753"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:11:01.206561"], ["updated_at", "2019-01-19 15:11:01.206561"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 21], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:11:01.208191"], ["updated_at", "2019-01-19 15:11:01.208191"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Dicta vero aliquam omnis."], ["body", "Sunt architecto veritatis. Quis officiis voluptatem. Neque tempore est."], ["created_at", "2019-01-19 15:11:01.210098"], ["updated_at", "2019-01-19 15:11:01.210098"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:11:01.211811"], ["updated_at", "2019-01-19 15:11:01.211811"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 22], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:11:01.213426"], ["updated_at", "2019-01-19 15:11:01.213426"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Modi numquam maxime doloremque."], ["body", "Suscipit occaecati totam. Distinctio aliquid et. Et maiores cupiditate."], ["created_at", "2019-01-19 15:11:01.215359"], ["updated_at", "2019-01-19 15:11:01.215359"]] ↳ db/seeds.rb:46  (0.5ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:11:01.217143"], ["updated_at", "2019-01-19 15:11:01.217143"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 23], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:11:01.218794"], ["updated_at", "2019-01-19 15:11:01.218794"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Et quod fuga dignissimos."], ["body", "Molestiae est ducimus. Quasi reiciendis dolorem. Consequatur ea voluptatem."], ["created_at", "2019-01-19 15:11:01.220595"], ["updated_at", "2019-01-19 15:11:01.220595"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:11:01.222291"], ["updated_at", "2019-01-19 15:11:01.222291"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 24], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:11:01.223888"], ["updated_at", "2019-01-19 15:11:01.223888"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.2ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Rerum odit ab sed."], ["body", "Aliquam eligendi magnam. Tempore debitis animi. Accusantium magnam repellendus."], ["created_at", "2019-01-19 15:11:01.225769"], ["updated_at", "2019-01-19 15:11:01.225769"]] ↳ db/seeds.rb:46  (0.9ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 1], ["created_at", "2019-01-19 15:11:01.227990"], ["updated_at", "2019-01-19 15:11:01.227990"]] ↳ db/seeds.rb:48  (0.5ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 25], ["user_id", 2], ["score", 5], ["created_at", "2019-01-19 15:11:01.229609"], ["updated_at", "2019-01-19 15:11:01.229609"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Soluta laboriosam minima sit."], ["body", "Nostrum omnis voluptatum. Id non architecto. Tempore aut in."], ["created_at", "2019-01-19 15:11:01.231523"], ["updated_at", "2019-01-19 15:11:01.231523"]] ↳ db/seeds.rb:50  (0.6ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:11:01.233257"], ["updated_at", "2019-01-19 15:11:01.233257"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.2ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 26], ["user_id", 3], ["score", 1], ["created_at", "2019-01-19 15:11:01.234925"], ["updated_at", "2019-01-19 15:11:01.234925"]] ↳ db/seeds.rb:52  (0.7ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Ratione nulla architecto et."], ["body", "Est perspiciatis sequi. Explicabo at rerum. Eligendi omnis accusantium."], ["created_at", "2019-01-19 15:11:01.237484"], ["updated_at", "2019-01-19 15:11:01.237484"]] ↳ db/seeds.rb:46  (0.7ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:11:01.239771"], ["updated_at", "2019-01-19 15:11:01.239771"]] ↳ db/seeds.rb:48  (0.6ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 27], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:11:01.241846"], ["updated_at", "2019-01-19 15:11:01.241846"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.4ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Illo sint natus architecto."], ["body", "Ut quae error. Distinctio rem non. Recusandae accusamus dolorem."], ["created_at", "2019-01-19 15:11:01.244475"], ["updated_at", "2019-01-19 15:11:01.244475"]] ↳ db/seeds.rb:50  (0.7ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.4ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:11:01.247053"], ["updated_at", "2019-01-19 15:11:01.247053"]] ↳ db/seeds.rb:52  (0.6ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 28], ["user_id", 3], ["score", 4], ["created_at", "2019-01-19 15:11:01.249288"], ["updated_at", "2019-01-19 15:11:01.249288"]] ↳ db/seeds.rb:52  (0.8ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:46 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 2], ["clearance_id", 1], ["city_id", 1], ["title", "Distinctio accusamus nesciunt rerum."], ["body", "Est aliquid quia. Est velit qui. Cupiditate omnis id."], ["created_at", "2019-01-19 15:11:01.252337"], ["updated_at", "2019-01-19 15:11:01.252337"]] ↳ db/seeds.rb:46  (0.6ms) commit transaction ↳ db/seeds.rb:46  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 4], ["created_at", "2019-01-19 15:11:01.254493"], ["updated_at", "2019-01-19 15:11:01.254493"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:48 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 29], ["user_id", 2], ["score", 2], ["created_at", "2019-01-19 15:11:01.256459"], ["updated_at", "2019-01-19 15:11:01.256459"]] ↳ db/seeds.rb:48  (0.7ms) commit transaction ↳ db/seeds.rb:48  (0.0ms) begin transaction ↳ db/seeds.rb:50 Report Create (0.3ms) INSERT INTO "reports" ("user_id", "clearance_id", "city_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["user_id", 3], ["clearance_id", 1], ["city_id", 2], ["title", "Et itaque commodi sint."], ["body", "Itaque sit quas. Voluptatem ad autem. Eos non culpa."], ["created_at", "2019-01-19 15:11:01.258614"], ["updated_at", "2019-01-19 15:11:01.258614"]] ↳ db/seeds.rb:50  (0.4ms) commit transaction ↳ db/seeds.rb:50  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 2], ["created_at", "2019-01-19 15:11:01.260222"], ["updated_at", "2019-01-19 15:11:01.260222"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:52 Rating Create (0.3ms) INSERT INTO "ratings" ("report_id", "user_id", "score", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["report_id", 30], ["user_id", 3], ["score", 5], ["created_at", "2019-01-19 15:11:01.261986"], ["updated_at", "2019-01-19 15:11:01.261986"]] ↳ db/seeds.rb:52  (0.5ms) commit transaction ↳ db/seeds.rb:52  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "properties"], ["created_at", "2019-01-19 15:11:01.268036"], ["updated_at", "2019-01-19 15:11:01.268036"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "routes"], ["created_at", "2019-01-19 15:11:01.270279"], ["updated_at", "2019-01-19 15:11:01.270279"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/info"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.272131"], ["updated_at", "2019-01-19 15:11:01.272131"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/mailers"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.274288"], ["updated_at", "2019-01-19 15:11:01.274288"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "visitors"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.276574"], ["updated_at", "2019-01-19 15:11:01.276574"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.278747"], ["updated_at", "2019-01-19 15:11:01.278747"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.281131"], ["updated_at", "2019-01-19 15:11:01.281131"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/sessions"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.283299"], ["updated_at", "2019-01-19 15:11:01.283299"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.285438"], ["updated_at", "2019-01-19 15:11:01.285438"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.287520"], ["updated_at", "2019-01-19 15:11:01.287520"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.289436"], ["updated_at", "2019-01-19 15:11:01.289436"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/passwords"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.291576"], ["updated_at", "2019-01-19 15:11:01.291576"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "cancel"], ["created_at", "2019-01-19 15:11:01.293789"], ["updated_at", "2019-01-19 15:11:01.293789"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.296023"], ["updated_at", "2019-01-19 15:11:01.296023"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.298301"], ["updated_at", "2019-01-19 15:11:01.298301"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.300225"], ["updated_at", "2019-01-19 15:11:01.300225"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.302051"], ["updated_at", "2019-01-19 15:11:01.302051"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "devise/registrations"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.304169"], ["updated_at", "2019-01-19 15:11:01.304169"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.306610"], ["updated_at", "2019-01-19 15:11:01.306610"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.308689"], ["updated_at", "2019-01-19 15:11:01.308689"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.310782"], ["updated_at", "2019-01-19 15:11:01.310782"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.312919"], ["updated_at", "2019-01-19 15:11:01.312919"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "show"], ["created_at", "2019-01-19 15:11:01.314867"], ["updated_at", "2019-01-19 15:11:01.314867"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.317349"], ["updated_at", "2019-01-19 15:11:01.317349"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "reports"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.319439"], ["updated_at", "2019-01-19 15:11:01.319439"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.321538"], ["updated_at", "2019-01-19 15:11:01.321538"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.323478"], ["updated_at", "2019-01-19 15:11:01.323478"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.325399"], ["updated_at", "2019-01-19 15:11:01.325399"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.330384"], ["updated_at", "2019-01-19 15:11:01.330384"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.332920"], ["updated_at", "2019-01-19 15:11:01.332920"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "clearances"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.335232"], ["updated_at", "2019-01-19 15:11:01.335232"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.337352"], ["updated_at", "2019-01-19 15:11:01.337352"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.339260"], ["updated_at", "2019-01-19 15:11:01.339260"]] ↳ db/seeds.rb:63  (0.7ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.341482"], ["updated_at", "2019-01-19 15:11:01.341482"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.343751"], ["updated_at", "2019-01-19 15:11:01.343751"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.345779"], ["updated_at", "2019-01-19 15:11:01.345779"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "cities"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.347779"], ["updated_at", "2019-01-19 15:11:01.347779"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.349594"], ["updated_at", "2019-01-19 15:11:01.349594"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.351483"], ["updated_at", "2019-01-19 15:11:01.351483"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.353484"], ["updated_at", "2019-01-19 15:11:01.353484"]] ↳ db/seeds.rb:63  (0.6ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "announcements"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.355615"], ["updated_at", "2019-01-19 15:11:01.355615"]] ↳ db/seeds.rb:63  (0.4ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/disk"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.357556"], ["updated_at", "2019-01-19 15:11:01.357556"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "active_storage/direct_uploads"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.359562"], ["updated_at", "2019-01-19 15:11:01.359562"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:63 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:63 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "rails/welcome"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.361533"], ["updated_at", "2019-01-19 15:11:01.361533"]] ↳ db/seeds.rb:63  (0.5ms) commit transaction ↳ db/seeds.rb:63  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_clearances"], ["name", "View clearances"], ["description", "View clearances"], ["created_at", "2019-01-19 15:11:01.416353"], ["updated_at", "2019-01-19 15:11:01.416353"]] ↳ db/seeds.rb:76  (0.7ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "clearances"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 1], ["created_at", "2019-01-19 15:11:01.436040"], ["updated_at", "2019-01-19 15:11:01.436040"]] ↳ db/seeds.rb:84  (1.2ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.2ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage clearances"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.4ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_clearances"], ["name", "Manage clearances"], ["description", "Manage clearances"], ["created_at", "2019-01-19 15:11:01.441450"], ["updated_at", "2019-01-19 15:11:01.441450"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "clearances"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 26], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:11:01.446805"], ["updated_at", "2019-01-19 15:11:01.446805"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 27], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:11:01.448743"], ["updated_at", "2019-01-19 15:11:01.448743"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 28], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:11:01.450290"], ["updated_at", "2019-01-19 15:11:01.450290"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 29], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:11:01.451683"], ["updated_at", "2019-01-19 15:11:01.451683"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 30], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:11:01.452925"], ["updated_at", "2019-01-19 15:11:01.452925"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 31], ["authz_business_process_id", 2], ["created_at", "2019-01-19 15:11:01.454190"], ["updated_at", "2019-01-19 15:11:01.454190"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_cities"], ["name", "View cities"], ["description", "View cities"], ["created_at", "2019-01-19 15:11:01.456672"], ["updated_at", "2019-01-19 15:11:01.456672"]] ↳ db/seeds.rb:76  (0.6ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "cities"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.5ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 3], ["created_at", "2019-01-19 15:11:01.460827"], ["updated_at", "2019-01-19 15:11:01.460827"]] ↳ db/seeds.rb:84  (1.1ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.4ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage cities"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.4ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_cities"], ["name", "Manage cities"], ["description", "Manage cities"], ["created_at", "2019-01-19 15:11:01.466752"], ["updated_at", "2019-01-19 15:11:01.466752"]] ↳ db/seeds.rb:76  (0.8ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "cities"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 32], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:11:01.472029"], ["updated_at", "2019-01-19 15:11:01.472029"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 33], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:11:01.473843"], ["updated_at", "2019-01-19 15:11:01.473843"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 34], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:11:01.475332"], ["updated_at", "2019-01-19 15:11:01.475332"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 35], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:11:01.476747"], ["updated_at", "2019-01-19 15:11:01.476747"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 36], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:11:01.478022"], ["updated_at", "2019-01-19 15:11:01.478022"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 37], ["authz_business_process_id", 4], ["created_at", "2019-01-19 15:11:01.479252"], ["updated_at", "2019-01-19 15:11:01.479252"]] ↳ db/seeds.rb:84  (0.7ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_reports"], ["name", "View reports"], ["description", "View reports"], ["created_at", "2019-01-19 15:11:01.481970"], ["updated_at", "2019-01-19 15:11:01.481970"]] ↳ db/seeds.rb:76  (0.4ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "reports"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 5], ["created_at", "2019-01-19 15:11:01.484898"], ["updated_at", "2019-01-19 15:11:01.484898"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 5], ["created_at", "2019-01-19 15:11:01.486233"], ["updated_at", "2019-01-19 15:11:01.486233"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage reports"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_reports"], ["name", "Manage reports"], ["description", "Manage reports"], ["created_at", "2019-01-19 15:11:01.488507"], ["updated_at", "2019-01-19 15:11:01.488507"]] ↳ db/seeds.rb:76  (0.5ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "reports"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.3ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 19], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:11:01.491280"], ["updated_at", "2019-01-19 15:11:01.491280"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 20], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:11:01.492728"], ["updated_at", "2019-01-19 15:11:01.492728"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 21], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:11:01.493783"], ["updated_at", "2019-01-19 15:11:01.493783"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 22], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:11:01.494801"], ["updated_at", "2019-01-19 15:11:01.494801"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 23], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:11:01.495858"], ["updated_at", "2019-01-19 15:11:01.495858"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 24], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:11:01.496911"], ["updated_at", "2019-01-19 15:11:01.496911"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 25], ["authz_business_process_id", 6], ["created_at", "2019-01-19 15:11:01.497957"], ["updated_at", "2019-01-19 15:11:01.497957"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "view_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "View announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "view_announcements"], ["name", "View announcements"], ["description", "View announcements"], ["created_at", "2019-01-19 15:11:01.500239"], ["updated_at", "2019-01-19 15:11:01.500239"]] ↳ db/seeds.rb:76  (0.4ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" IN (?, ?) [["controller", "announcements"], ["action", "index"], ["action", "show"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 7], ["created_at", "2019-01-19 15:11:01.503109"], ["updated_at", "2019-01-19 15:11:01.503109"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage announcements"], ["LIMIT", 1]] ↳ db/seeds.rb:76 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_announcements"], ["name", "Manage announcements"], ["description", "Manage announcements"], ["created_at", "2019-01-19 15:11:01.505616"], ["updated_at", "2019-01-19 15:11:01.505616"]] ↳ db/seeds.rb:76  (0.4ms) commit transaction ↳ db/seeds.rb:76 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? [["controller", "announcements"]] ↳ db/seeds.rb:84  (0.0ms) begin transaction ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 38], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:11:01.508347"], ["updated_at", "2019-01-19 15:11:01.508347"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 39], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:11:01.509573"], ["updated_at", "2019-01-19 15:11:01.509573"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 40], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:11:01.510633"], ["updated_at", "2019-01-19 15:11:01.510633"]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["LIMIT", 1]] ↳ db/seeds.rb:84 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 41], ["authz_business_process_id", 8], ["created_at", "2019-01-19 15:11:01.511645"], ["updated_at", "2019-01-19 15:11:01.511645"]] ↳ db/seeds.rb:84  (0.6ms) commit transaction ↳ db/seeds.rb:84  (0.1ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.2ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "general_director"], ["name", "general_director"], ["description", "general_director"], ["created_at", "2019-01-19 15:11:01.521818"], ["updated_at", "2019-01-19 15:11:01.521818"]] ↳ db/seeds.rb:95  (1.2ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.540052"], ["updated_at", "2019-01-19 15:11:01.540052"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.541726"], ["updated_at", "2019-01-19 15:11:01.541726"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.542989"], ["updated_at", "2019-01-19 15:11:01.542989"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.544153"], ["updated_at", "2019-01-19 15:11:01.544153"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.545276"], ["updated_at", "2019-01-19 15:11:01.545276"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.546438"], ["updated_at", "2019-01-19 15:11:01.546438"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.547654"], ["updated_at", "2019-01-19 15:11:01.547654"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.548835"], ["updated_at", "2019-01-19 15:11:01.548835"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.4ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 1], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-19 15:11:01.561594"], ["updated_at", "2019-01-19 15:11:01.561594"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_director"], ["name", "ny_director"], ["description", "ny_director"], ["created_at", "2019-01-19 15:11:01.564751"], ["updated_at", "2019-01-19 15:11:01.564751"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.568222"], ["updated_at", "2019-01-19 15:11:01.568222"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.569566"], ["updated_at", "2019-01-19 15:11:01.569566"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.570654"], ["updated_at", "2019-01-19 15:11:01.570654"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.571748"], ["updated_at", "2019-01-19 15:11:01.571748"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.572854"], ["updated_at", "2019-01-19 15:11:01.572854"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.574365"], ["updated_at", "2019-01-19 15:11:01.574365"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.575480"], ["updated_at", "2019-01-19 15:11:01.575480"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 2], ["created_at", "2019-01-19 15:11:01.576517"], ["updated_at", "2019-01-19 15:11:01.576517"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 2], ["rolable_type", "User"], ["rolable_id", 2], ["created_at", "2019-01-19 15:11:01.579260"], ["updated_at", "2019-01-19 15:11:01.579260"]] ↳ db/seeds.rb:106  (0.5ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_director"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_director"], ["name", "sf_director"], ["description", "sf_director"], ["created_at", "2019-01-19 15:11:01.581722"], ["updated_at", "2019-01-19 15:11:01.581722"]] ↳ db/seeds.rb:95  (0.6ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.584705"], ["updated_at", "2019-01-19 15:11:01.584705"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.586034"], ["updated_at", "2019-01-19 15:11:01.586034"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.587136"], ["updated_at", "2019-01-19 15:11:01.587136"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.588236"], ["updated_at", "2019-01-19 15:11:01.588236"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.589498"], ["updated_at", "2019-01-19 15:11:01.589498"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.590640"], ["updated_at", "2019-01-19 15:11:01.590640"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.591711"], ["updated_at", "2019-01-19 15:11:01.591711"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 3], ["created_at", "2019-01-19 15:11:01.592795"], ["updated_at", "2019-01-19 15:11:01.592795"]] ↳ db/seeds.rb:103  (0.7ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 3], ["rolable_type", "User"], ["rolable_id", 3], ["created_at", "2019-01-19 15:11:01.595581"], ["updated_at", "2019-01-19 15:11:01.595581"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_agent"], ["name", "ny_agent"], ["description", "ny_agent"], ["created_at", "2019-01-19 15:11:01.598071"], ["updated_at", "2019-01-19 15:11:01.598071"]] ↳ db/seeds.rb:95  (0.4ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.600927"], ["updated_at", "2019-01-19 15:11:01.600927"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.602280"], ["updated_at", "2019-01-19 15:11:01.602280"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.603447"], ["updated_at", "2019-01-19 15:11:01.603447"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.604572"], ["updated_at", "2019-01-19 15:11:01.604572"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.606006"], ["updated_at", "2019-01-19 15:11:01.606006"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.607210"], ["updated_at", "2019-01-19 15:11:01.607210"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.608322"], ["updated_at", "2019-01-19 15:11:01.608322"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 4], ["created_at", "2019-01-19 15:11:01.609445"], ["updated_at", "2019-01-19 15:11:01.609445"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 4], ["created_at", "2019-01-19 15:11:01.612265"], ["updated_at", "2019-01-19 15:11:01.612265"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_agent"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_agent"], ["name", "sf_agent"], ["description", "sf_agent"], ["created_at", "2019-01-19 15:11:01.614995"], ["updated_at", "2019-01-19 15:11:01.614995"]] ↳ db/seeds.rb:95  (0.5ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.618308"], ["updated_at", "2019-01-19 15:11:01.618308"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.619693"], ["updated_at", "2019-01-19 15:11:01.619693"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.620804"], ["updated_at", "2019-01-19 15:11:01.620804"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 4], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 4], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.622101"], ["updated_at", "2019-01-19 15:11:01.622101"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.623286"], ["updated_at", "2019-01-19 15:11:01.623286"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 6], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 6], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.624403"], ["updated_at", "2019-01-19 15:11:01.624403"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.625535"], ["updated_at", "2019-01-19 15:11:01.625535"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 8], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 8], ["authz_role_id", 5], ["created_at", "2019-01-19 15:11:01.626667"], ["updated_at", "2019-01-19 15:11:01.626667"]] ↳ db/seeds.rb:103  (1.2ms) commit transaction ↳ db/seeds.rb:103  (0.1ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.2ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.5ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 5], ["rolable_type", "User"], ["rolable_id", 5], ["created_at", "2019-01-19 15:11:01.632713"], ["updated_at", "2019-01-19 15:11:01.632713"]] ↳ db/seeds.rb:106  (0.7ms) commit transaction ↳ db/seeds.rb:106  (0.1ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.2ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "ny_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "ny_auditor"], ["name", "ny_auditor"], ["description", "ny_auditor"], ["created_at", "2019-01-19 15:11:01.636646"], ["updated_at", "2019-01-19 15:11:01.636646"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.3ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 6], ["created_at", "2019-01-19 15:11:01.640922"], ["updated_at", "2019-01-19 15:11:01.640922"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 6], ["created_at", "2019-01-19 15:11:01.642609"], ["updated_at", "2019-01-19 15:11:01.642609"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 6], ["created_at", "2019-01-19 15:11:01.643945"], ["updated_at", "2019-01-19 15:11:01.643945"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 6], ["created_at", "2019-01-19 15:11:01.645278"], ["updated_at", "2019-01-19 15:11:01.645278"]] ↳ db/seeds.rb:103  (0.9ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.3ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 6], ["rolable_type", "User"], ["rolable_id", 6], ["created_at", "2019-01-19 15:11:01.648582"], ["updated_at", "2019-01-19 15:11:01.648582"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106  (0.0ms) begin transaction ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "sf_auditor"], ["LIMIT", 1]] ↳ db/seeds.rb:95 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "sf_auditor"], ["name", "sf_auditor"], ["description", "sf_auditor"], ["created_at", "2019-01-19 15:11:01.651367"], ["updated_at", "2019-01-19 15:11:01.651367"]] ↳ db/seeds.rb:95  (0.7ms) commit transaction ↳ db/seeds.rb:95 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE (name LIKE '%view%') ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 1], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 1], ["authz_role_id", 7], ["created_at", "2019-01-19 15:11:01.654703"], ["updated_at", "2019-01-19 15:11:01.654703"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 3], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 3], ["authz_role_id", 7], ["created_at", "2019-01-19 15:11:01.656074"], ["updated_at", "2019-01-19 15:11:01.656074"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 5], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 5], ["authz_role_id", 7], ["created_at", "2019-01-19 15:11:01.657142"], ["updated_at", "2019-01-19 15:11:01.657142"]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Exists (0.0ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 7], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:103 Authz::RoleHasBusinessProcess Create (0.0ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 7], ["authz_role_id", 7], ["created_at", "2019-01-19 15:11:01.658213"], ["updated_at", "2019-01-19 15:11:01.658213"]] ↳ db/seeds.rb:103  (0.6ms) commit transaction ↳ db/seeds.rb:103  (0.0ms) begin transaction ↳ db/seeds.rb:106 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:106 Authz::RoleGrant Create (0.2ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 7], ["rolable_type", "User"], ["rolable_id", 7], ["created_at", "2019-01-19 15:11:01.660888"], ["updated_at", "2019-01-19 15:11:01.660888"]] ↳ db/seeds.rb:106  (0.6ms) commit transaction ↳ db/seeds.rb:106 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:113  (0.0ms) begin transaction ↳ db/seeds.rb:114 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:114  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 15:11:01.673022"], ["updated_at", "2019-01-19 15:11:01.673022"]] ↳ db/seeds.rb:114  (0.6ms) commit transaction ↳ db/seeds.rb:114  (0.0ms) begin transaction ↳ db/seeds.rb:115 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:115  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["keyword", "All"], ["created_at", "2019-01-19 15:11:01.675941"], ["updated_at", "2019-01-19 15:11:01.675941"]] ↳ db/seeds.rb:115  (0.5ms) commit transaction ↳ db/seeds.rb:115 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'ny%') ↳ db/seeds.rb:122  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 2], ["keyword", "New York"], ["created_at", "2019-01-19 15:11:01.678805"], ["updated_at", "2019-01-19 15:11:01.678805"]] ↳ db/seeds.rb:123  (0.7ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 4], ["keyword", "New York"], ["created_at", "2019-01-19 15:11:01.681334"], ["updated_at", "2019-01-19 15:11:01.681334"]] ↳ db/seeds.rb:123  (0.5ms) commit transaction ↳ db/seeds.rb:123  (0.1ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.2ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["keyword", "New York"], ["created_at", "2019-01-19 15:11:01.683568"], ["updated_at", "2019-01-19 15:11:01.683568"]] ↳ db/seeds.rb:123  (0.7ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE 'sf%') ↳ db/seeds.rb:122  (0.1ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.2ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.5ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 3], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:11:01.687637"], ["updated_at", "2019-01-19 15:11:01.687637"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 5], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:11:01.691108"], ["updated_at", "2019-01-19 15:11:01.691108"]] ↳ db/seeds.rb:123  (0.7ms) commit transaction ↳ db/seeds.rb:123  (0.0ms) begin transaction ↳ db/seeds.rb:123 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:123  (0.0ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByCity"], ["authz_role_id", 7], ["keyword", "San Francisco"], ["created_at", "2019-01-19 15:11:01.694171"], ["updated_at", "2019-01-19 15:11:01.694171"]] ↳ db/seeds.rb:123  (0.6ms) commit transaction ↳ db/seeds.rb:123 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_director"], ["name", "sf_director"]] ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 2], ["keyword", "All"], ["created_at", "2019-01-19 15:11:01.697528"], ["updated_at", "2019-01-19 15:11:01.697528"]] ↳ db/seeds.rb:129  (0.8ms) commit transaction ↳ db/seeds.rb:129  (0.0ms) begin transaction ↳ db/seeds.rb:129 Authz::ScopingRule Exists (0.2ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["LIMIT", 1]] ↳ db/seeds.rb:129  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 3], ["keyword", "All"], ["created_at", "2019-01-19 15:11:01.700888"], ["updated_at", "2019-01-19 15:11:01.700888"]] ↳ db/seeds.rb:129  (0.7ms) commit transaction ↳ db/seeds.rb:129 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" IN (?, ?) [["name", "ny_agent"], ["name", "sf_agent"]] ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 4], ["keyword", "secret"], ["created_at", "2019-01-19 15:11:01.704504"], ["updated_at", "2019-01-19 15:11:01.704504"]] ↳ db/seeds.rb:133  (0.6ms) commit transaction ↳ db/seeds.rb:133  (0.0ms) begin transaction ↳ db/seeds.rb:133 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["LIMIT", 1]] ↳ db/seeds.rb:133  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 5], ["keyword", "secret"], ["created_at", "2019-01-19 15:11:01.707189"], ["updated_at", "2019-01-19 15:11:01.707189"]] ↳ db/seeds.rb:133  (0.8ms) commit transaction ↳ db/seeds.rb:133 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE (name LIKE '%auditor%') ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.1ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.3ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["keyword", "All"], ["created_at", "2019-01-19 15:11:01.710652"], ["updated_at", "2019-01-19 15:11:01.710652"]] ↳ db/seeds.rb:137  (0.7ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:137 Authz::ScopingRule Exists (0.2ms) SELECT 1 AS one FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["LIMIT", 1]] ↳ db/seeds.rb:137  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5 Authz::ScopingRule Create (0.4ms) INSERT INTO "authz_scoping_rules" ("scopable", "authz_role_id", "keyword", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["scopable", "ScopableByClearance"], ["authz_role_id", 7], ["keyword", "All"], ["created_at", "2019-01-19 15:11:01.713895"], ["updated_at", "2019-01-19 15:11:01.713895"]] ↳ db/seeds.rb:137  (0.7ms) commit transaction ↳ db/seeds.rb:137  (0.0ms) begin transaction ↳ db/seeds.rb:142 Announcement Create (0.3ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny and sf"], ["created_at", "2019-01-19 15:11:01.722228"], ["updated_at", "2019-01-19 15:11:01.722228"]] ↳ db/seeds.rb:142  (0.9ms) commit transaction ↳ db/seeds.rb:142  (0.0ms) begin transaction ↳ db/seeds.rb:143 AnnouncementCity Create (0.3ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 1], ["created_at", "2019-01-19 15:11:01.732703"], ["updated_at", "2019-01-19 15:11:01.732703"]] ↳ db/seeds.rb:143 AnnouncementCity Create (0.1ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 1], ["city_id", 2], ["created_at", "2019-01-19 15:11:01.733856"], ["updated_at", "2019-01-19 15:11:01.733856"]] ↳ db/seeds.rb:143  (0.6ms) commit transaction ↳ db/seeds.rb:143  (0.0ms) begin transaction ↳ db/seeds.rb:145 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for ny"], ["created_at", "2019-01-19 15:11:01.735334"], ["updated_at", "2019-01-19 15:11:01.735334"]] ↳ db/seeds.rb:145  (0.4ms) commit transaction ↳ db/seeds.rb:145  (0.0ms) begin transaction ↳ db/seeds.rb:146 AnnouncementCity Create (0.2ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 2], ["city_id", 1], ["created_at", "2019-01-19 15:11:01.737331"], ["updated_at", "2019-01-19 15:11:01.737331"]] ↳ db/seeds.rb:146  (0.6ms) commit transaction ↳ db/seeds.rb:146  (0.0ms) begin transaction ↳ db/seeds.rb:148 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for sf"], ["created_at", "2019-01-19 15:11:01.738952"], ["updated_at", "2019-01-19 15:11:01.738952"]] ↳ db/seeds.rb:148  (0.4ms) commit transaction ↳ db/seeds.rb:148  (0.0ms) begin transaction ↳ db/seeds.rb:149 AnnouncementCity Create (0.2ms) INSERT INTO "announcement_cities" ("announcement_id", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["announcement_id", 3], ["city_id", 2], ["created_at", "2019-01-19 15:11:01.740866"], ["updated_at", "2019-01-19 15:11:01.740866"]] ↳ db/seeds.rb:149  (0.5ms) commit transaction ↳ db/seeds.rb:149  (0.1ms) begin transaction ↳ db/seeds.rb:151 Announcement Create (0.2ms) INSERT INTO "announcements" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "for no one"], ["created_at", "2019-01-19 15:11:01.742404"], ["updated_at", "2019-01-19 15:11:01.742404"]] ↳ db/seeds.rb:151  (0.4ms) commit transaction ↳ db/seeds.rb:151  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/home"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.744748"], ["updated_at", "2019-01-19 15:11:01.744748"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.746950"], ["updated_at", "2019-01-19 15:11:01.746950"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.749141"], ["updated_at", "2019-01-19 15:11:01.749141"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.751316"], ["updated_at", "2019-01-19 15:11:01.751316"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.753578"], ["updated_at", "2019-01-19 15:11:01.753578"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "show"], ["created_at", "2019-01-19 15:11:01.755783"], ["updated_at", "2019-01-19 15:11:01.755783"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.757900"], ["updated_at", "2019-01-19 15:11:01.757900"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/controller_actions"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.760337"], ["updated_at", "2019-01-19 15:11:01.760337"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.762511"], ["updated_at", "2019-01-19 15:11:01.762511"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.764568"], ["updated_at", "2019-01-19 15:11:01.764568"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.766786"], ["updated_at", "2019-01-19 15:11:01.766786"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.769010"], ["updated_at", "2019-01-19 15:11:01.769010"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "show"], ["created_at", "2019-01-19 15:11:01.771001"], ["updated_at", "2019-01-19 15:11:01.771001"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.773047"], ["updated_at", "2019-01-19 15:11:01.773047"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/business_processes"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.774950"], ["updated_at", "2019-01-19 15:11:01.774950"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.777043"], ["updated_at", "2019-01-19 15:11:01.777043"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.779158"], ["updated_at", "2019-01-19 15:11:01.779158"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.781353"], ["updated_at", "2019-01-19 15:11:01.781353"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/scoping_rules"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/scoping_rules"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.783477"], ["updated_at", "2019-01-19 15:11:01.783477"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.785638"], ["updated_at", "2019-01-19 15:11:01.785638"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "create"], ["created_at", "2019-01-19 15:11:01.787563"], ["updated_at", "2019-01-19 15:11:01.787563"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.789924"], ["updated_at", "2019-01-19 15:11:01.789924"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.792242"], ["updated_at", "2019-01-19 15:11:01.792242"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "show"], ["created_at", "2019-01-19 15:11:01.794476"], ["updated_at", "2019-01-19 15:11:01.794476"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.796570"], ["updated_at", "2019-01-19 15:11:01.796570"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/roles"], ["action", "destroy"], ["created_at", "2019-01-19 15:11:01.798741"], ["updated_at", "2019-01-19 15:11:01.798741"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/controller_names"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.801019"], ["updated_at", "2019-01-19 15:11:01.801019"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/action_names"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.803107"], ["updated_at", "2019-01-19 15:11:01.803107"]] ↳ db/seeds.rb:159  (0.4ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.805107"], ["updated_at", "2019-01-19 15:11:01.805107"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.4ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/business_process_names"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.807943"], ["updated_at", "2019-01-19 15:11:01.807943"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.3ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "new"], ["created_at", "2019-01-19 15:11:01.811379"], ["updated_at", "2019-01-19 15:11:01.811379"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/validations/role_names"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.814156"], ["updated_at", "2019-01-19 15:11:01.814156"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.1ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "index"], ["created_at", "2019-01-19 15:11:01.816520"], ["updated_at", "2019-01-19 15:11:01.816520"]] ↳ db/seeds.rb:159  (0.6ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "edit"], ["created_at", "2019-01-19 15:11:01.818900"], ["updated_at", "2019-01-19 15:11:01.818900"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "show"], ["created_at", "2019-01-19 15:11:01.821036"], ["updated_at", "2019-01-19 15:11:01.821036"]] ↳ db/seeds.rb:159  (0.7ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:159 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ db/seeds.rb:159 Authz::ControllerAction Create (0.2ms) INSERT INTO "authz_controller_actions" ("controller", "action", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["controller", "authz/rolables"], ["action", "update"], ["created_at", "2019-01-19 15:11:01.823362"], ["updated_at", "2019-01-19 15:11:01.823362"]] ↳ db/seeds.rb:159  (0.5ms) commit transaction ↳ db/seeds.rb:159  (0.0ms) begin transaction ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "manage_authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Manage authorization"], ["LIMIT", 1]] ↳ db/seeds.rb:166 Authz::BusinessProcess Create (0.2ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "manage_authorization"], ["name", "Manage authorization"], ["description", "Manage authorization"], ["created_at", "2019-01-19 15:11:01.825802"], ["updated_at", "2019-01-19 15:11:01.825802"]] ↳ db/seeds.rb:166  (0.4ms) commit transaction ↳ db/seeds.rb:166 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') ↳ db/seeds.rb:167  (0.0ms) begin transaction ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.829005"], ["updated_at", "2019-01-19 15:11:01.829005"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 46], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.830248"], ["updated_at", "2019-01-19 15:11:01.830248"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 47], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.831278"], ["updated_at", "2019-01-19 15:11:01.831278"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 48], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.832314"], ["updated_at", "2019-01-19 15:11:01.832314"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 49], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.833394"], ["updated_at", "2019-01-19 15:11:01.833394"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 50], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.834735"], ["updated_at", "2019-01-19 15:11:01.834735"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 51], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.835743"], ["updated_at", "2019-01-19 15:11:01.835743"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 52], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.836737"], ["updated_at", "2019-01-19 15:11:01.836737"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 53], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.837736"], ["updated_at", "2019-01-19 15:11:01.837736"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 54], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.838727"], ["updated_at", "2019-01-19 15:11:01.838727"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 55], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.839724"], ["updated_at", "2019-01-19 15:11:01.839724"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 56], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.840724"], ["updated_at", "2019-01-19 15:11:01.840724"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 57], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.841715"], ["updated_at", "2019-01-19 15:11:01.841715"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 58], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.842669"], ["updated_at", "2019-01-19 15:11:01.842669"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 59], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.843603"], ["updated_at", "2019-01-19 15:11:01.843603"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 60], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.844554"], ["updated_at", "2019-01-19 15:11:01.844554"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 61], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.845471"], ["updated_at", "2019-01-19 15:11:01.845471"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 62], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.846437"], ["updated_at", "2019-01-19 15:11:01.846437"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 63], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.847392"], ["updated_at", "2019-01-19 15:11:01.847392"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 64], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.848371"], ["updated_at", "2019-01-19 15:11:01.848371"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 65], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.849313"], ["updated_at", "2019-01-19 15:11:01.849313"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 66], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.850288"], ["updated_at", "2019-01-19 15:11:01.850288"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 67], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.851243"], ["updated_at", "2019-01-19 15:11:01.851243"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 68], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.852176"], ["updated_at", "2019-01-19 15:11:01.852176"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 69], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.853091"], ["updated_at", "2019-01-19 15:11:01.853091"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 70], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.854056"], ["updated_at", "2019-01-19 15:11:01.854056"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 71], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.855005"], ["updated_at", "2019-01-19 15:11:01.855005"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 72], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.855941"], ["updated_at", "2019-01-19 15:11:01.855941"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 73], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.856888"], ["updated_at", "2019-01-19 15:11:01.856888"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 74], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.857816"], ["updated_at", "2019-01-19 15:11:01.857816"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 75], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.858788"], ["updated_at", "2019-01-19 15:11:01.858788"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 76], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.859731"], ["updated_at", "2019-01-19 15:11:01.859731"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.860680"], ["updated_at", "2019-01-19 15:11:01.860680"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.861610"], ["updated_at", "2019-01-19 15:11:01.861610"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.0ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.862549"], ["updated_at", "2019-01-19 15:11:01.862549"]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]] ↳ db/seeds.rb:167 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["created_at", "2019-01-19 15:11:01.863492"], ["updated_at", "2019-01-19 15:11:01.863492"]] ↳ db/seeds.rb:167  (0.8ms) commit transaction ↳ db/seeds.rb:167 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "general_director"], ["LIMIT", 1]] ↳ db/seeds.rb:170  (0.0ms) begin transaction ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 1], ["LIMIT", 1]] ↳ db/seeds.rb:171 Authz::RoleHasBusinessProcess Create (0.2ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 1], ["created_at", "2019-01-19 15:11:01.866222"], ["updated_at", "2019-01-19 15:11:01.866222"]] ↳ db/seeds.rb:171  (0.6ms) commit transaction ↳ db/seeds.rb:171 Started GET "/" for 127.0.0.1 at 2019-01-20 02:11:22 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (10.2ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Rendered layouts/_flash.html.slim (2.4ms) Completed 200 OK in 474ms (Views: 471.3ms | ActiveRecord: 0.9ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 02:11:27 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (1.2ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (432.8ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 02:11:28 +1100 Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 481ms (Views: 478.9ms | ActiveRecord: 0.0ms) Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (5.6ms) Rendered layouts/_flash.html.slim (2.6ms) Completed 200 OK in 55ms (Views: 54.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 02:11:35 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kfjx5j6db9RA3/mIgu9C3HDXJW7IKe3XHE5C2h7JDbuqoOR+HQ5Q18H7eptYOtKDZvansg0JoliXVxONO1RJTg==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 123ms (ActiveRecord: 0.2ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-20 02:11:36 +1100 Processing by ReportsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (195.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (11.7ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 313ms (Views: 233.9ms | ActiveRecord: 6.8ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 02:11:41 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (18.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (5.3ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 62ms (Views: 50.4ms | ActiveRecord: 2.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 02:11:43 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:14 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.0ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (10.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 112ms (Views: 87.9ms | ActiveRecord: 2.6ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 02:11:46 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (21.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (36.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 109ms (Views: 99.0ms | ActiveRecord: 0.5ms) Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError - Authz::RolesController#index is missing authorization.: Started POST "/authz/__better_errors/3e0ae5440cd8b91a/variables" for 127.0.0.1 at 2019-01-20 02:11:46 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 02:12:09 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (7.3ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 42ms (Views: 38.8ms | ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2019-01-20 02:12:29 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.0ms) Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.7ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim___4261745167881563537_70168207713520' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__3767521059633509729_70168209133860' Started POST "/__better_errors/463125ae72893e17/variables" for 127.0.0.1 at 2019-01-20 02:12:30 +1100 Started POST "/__better_errors/463125ae72893e17/variables" for 127.0.0.1 at 2019-01-20 02:13:21 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 02:14:59 +1100  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (28.1ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.4ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.6ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.6ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.5ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (23612.1ms) Completed 500 Internal Server Error in 24646ms (ActiveRecord: 7.2ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim__2977748215106889182_70336642953820' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__1530075219162599592_70336609092600' Started POST "/__better_errors/31495dd1e890a01e/variables" for 127.0.0.1 at 2019-01-20 02:15:29 +1100 Started POST "/__better_errors/31495dd1e890a01e/eval" for 127.0.0.1 at 2019-01-20 02:15:44 +1100 Started POST "/__better_errors/31495dd1e890a01e/eval" for 127.0.0.1 at 2019-01-20 02:17:10 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 02:17:29 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (20.4ms) User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (156719.4ms) Completed 500 Internal Server Error in 156924ms (ActiveRecord: 2.5ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim__2977748215106889182_70336645641880' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__1530075219162599592_70336644129880' Started POST "/__better_errors/05c24459fb122caf/variables" for 127.0.0.1 at 2019-01-20 02:20:06 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 02:20:51 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (11.7ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (36.0ms) Completed 500 Internal Server Error in 133ms (ActiveRecord: 1.4ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim__2977748215106889182_70336636206840' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__1530075219162599592_70336646173740' Started POST "/__better_errors/44888300b71cfd98/variables" for 127.0.0.1 at 2019-01-20 02:20:51 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 02:21:03 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (11.3ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (36.1ms) Completed 500 Internal Server Error in 137ms (ActiveRecord: 1.4ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim__2977748215106889182_70336658162560' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__1530075219162599592_70336634127640' Started POST "/__better_errors/e0f1faaee7dbb8e0/variables" for 127.0.0.1 at 2019-01-20 02:21:03 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 02:21:27 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (11.0ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (35.0ms) Completed 500 Internal Server Error in 127ms (ActiveRecord: 1.4ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim__2977748215106889182_70336662605300' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__1530075219162599592_70336658845700' Started POST "/__better_errors/2d1ac56de015182f/variables" for 127.0.0.1 at 2019-01-20 02:21:27 +1100 Started GET "/" for 127.0.0.1 at 2019-01-20 02:22:00 +1100  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (29.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (2984737.9ms) Completed 500 Internal Server Error in 2985753ms (ActiveRecord: 5.5ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim___2645116983684686801_70236210345180' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim___4152519854567316575_70236138011040' Started GET "/" for 127.0.0.1 at 2019-01-20 03:11:56 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (7.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (77.0ms) Rendered layouts/_flash.html.slim (2.1ms) Completed 200 OK in 563ms (Views: 558.2ms | ActiveRecord: 2.9ms) Started GET "/" for 127.0.0.1 at 2019-01-20 03:12:02 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (7.6ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 41ms (Views: 38.7ms | ActiveRecord: 0.8ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 03:12:04 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (0.1ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 3]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 4]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered announcements/index.html.slim within layouts/application (21.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.4ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 78ms (Views: 52.7ms | ActiveRecord: 3.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:05 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" != ? [["scopable", "ScopableByCity"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:14 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (515.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (3.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 645ms (Views: 618.1ms | ActiveRecord: 2.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 03:12:25 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (24.7ms) Rendered layouts/_flash.html.slim (4.4ms) Completed 200 OK in 70ms (Views: 66.6ms | ActiveRecord: 1.2ms) Started DELETE "/users/sign_out" for 127.0.0.1 at 2019-01-20 03:12:27 +1100 Processing by Devise::SessionsController#destroy as HTML Parameters: {"authenticity_token"=>"caV6ivicBCdVda1720WNSZh2WKZwhlWPRk99nxYalsRg76aIXeE8XrJkiklXC/3xQJRRB+6Cu2ybx4RMDBcERQ=="} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2019-01-20 03:12:27 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.8ms) Rendered layouts/_flash.html.slim (2.1ms) Completed 200 OK in 50ms (Views: 48.2ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 03:12:29 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (19.8ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 81ms (Views: 79.4ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 03:12:41 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AJBj5Id4ciLrz0EnVABXOF4F3N+9tPfbNnH/MrwIlxuz5gTOZbS+eiddr+Wf1cDgPDGm5g6AnP3TAd/2smjD4Q==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 129ms (ActiveRecord: 0.5ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-20 03:12:41 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.1ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.1ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.2ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" WHERE "cities"."id" = ? AND "clearances"."id" = ? ORDER BY cities.name ASC [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 4], ["id", 2]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? [["id", 1]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" = ? [["id", 2]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendered reports/index.html.slim within layouts/application (92.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.2ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 137ms (Views: 121.4ms | ActiveRecord: 4.2ms) Started GET "/authz" for 127.0.0.1 at 2019-01-20 03:12:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:48 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:53 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:54 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:54 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:54 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:54 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:12:54 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) [1mbegin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:13:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/authz/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 03:14:24 +1100 Processing by Authz::HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/ Completed 302 Found in 29ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 03:14:24 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (14.7ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 58ms (Views: 55.0ms | ActiveRecord: 1.1ms) Started GET "/authz" for 127.0.0.1 at 2019-01-20 03:14:29 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 03:14:29 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.7ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.8ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 42ms (Views: 39.5ms | ActiveRecord: 1.1ms)  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.9ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 03:37:04.881198"], ["updated_at", "2019-01-20 03:37:04.881198"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 03:37:04.884768"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.5ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.8ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (13.0ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.8ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.9ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.9ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.8ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.9ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 03:38:04.289174"], ["updated_at", "2019-01-20 03:38:04.289174"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 03:38:04.292922"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (1.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.5ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 03:46:06.695000"], ["updated_at", "2019-01-20 03:46:06.695000"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 03:46:06.702288"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.0ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.5ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (4.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 05:20:51.392719"], ["updated_at", "2019-01-20 05:20:51.392719"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 05:20:51.400328"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (1.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.1ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.8ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.5ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.8ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 07:02:20.538782"], ["updated_at", "2019-01-20 07:02:20.538782"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 07:02:20.545988"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.7ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.3ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.8ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.9ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.8ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 07:04:09.329031"], ["updated_at", "2019-01-20 07:04:09.329031"]] ↳ db/schema.rb:13  (0.7ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 07:04:09.336212"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.0ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.6ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.8ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 07:31:29.137717"], ["updated_at", "2019-01-20 07:31:29.137717"]] ↳ db/schema.rb:13  (0.5ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 07:31:29.141606"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Started GET "/" for 127.0.0.1 at 2019-01-20 18:31:52 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (7.4ms) User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (1.0ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (3.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (93.5ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 593ms (Views: 583.4ms | ActiveRecord: 7.6ms) Started GET "/authz" for 127.0.0.1 at 2019-01-20 18:32:05 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2019-01-20 18:32:05 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.6ms) Rendered layouts/_flash.html.slim (2.5ms) Completed 200 OK in 48ms (Views: 44.9ms | ActiveRecord: 0.8ms) Started GET "/authz/roles/index" for 127.0.0.1 at 2019-01-20 18:32:14 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"index"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11  (0.0ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 404 Not Found in 3ms (ActiveRecord: 0.3ms) ActiveRecord::RecordNotFound - Couldn't find Authz::Role with 'id'=index: Started POST "/authz/__better_errors/5c48a8d1d5b60b02/variables" for 127.0.0.1 at 2019-01-20 18:32:15 +1100 Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 18:32:20 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (20.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (35.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 128ms (Views: 118.2ms | ActiveRecord: 0.5ms) Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError - Authz::RolesController#index is missing authorization.: Started POST "/authz/__better_errors/f443cb8ad4206559/variables" for 127.0.0.1 at 2019-01-20 18:32:20 +1100 Started GET "/authz" for 127.0.0.1 at 2019-01-20 18:32:33 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 18:32:33 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (10.4ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 48ms (Views: 44.8ms | ActiveRecord: 1.1ms) Started GET "/reports" for 127.0.0.1 at 2019-01-20 18:32:44 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.7ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.6ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.4ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (1.0ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" WHERE "cities"."id" = ? AND "clearances"."id" = ? ORDER BY cities.name ASC [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 4], ["id", 2]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? [["id", 1]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" = ? [["id", 2]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendered reports/index.html.slim within layouts/application (101.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.5ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 170ms (Views: 137.1ms | ActiveRecord: 7.5ms) Started GET "/cities" for 127.0.0.1 at 2019-01-20 18:32:45 +1100 Processing by CitiesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.1ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Rendering cities/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? [["id", 1]] ↳ app/views/cities/index.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Rendered cities/index.html.slim within layouts/application (8.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.7ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 60ms (Views: 50.7ms | ActiveRecord: 1.9ms) Started GET "/announcements" for 127.0.0.1 at 2019-01-20 18:32:49 +1100 Processing by AnnouncementsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.1ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Rendering announcements/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Announcement Load (1.0ms) SELECT DISTINCT "announcements".* FROM "announcements" LEFT OUTER JOIN "announcement_cities" ON "announcement_cities"."announcement_id" = "announcements"."id" LEFT OUTER JOIN "cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "cities"."id" = ? [["id", 1]] ↳ app/views/announcements/index.html.slim:15  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ app/helpers/announcements_helper.rb:4 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."id" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/scopables/base.rb:285 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9  (0.1ms) SELECT "cities"."name" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ app/helpers/announcements_helper.rb:4 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18  (0.1ms) SELECT "cities"."id" FROM "cities" INNER JOIN "announcement_cities" ON "cities"."id" = "announcement_cities"."city_id" WHERE "announcement_cities"."announcement_id" = ? [["announcement_id", 2]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/scopables/base.rb:285 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Rendered announcements/index.html.slim within layouts/application (19.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.0ms) Rendered layouts/_flash.html.slim (1.4ms) Completed 200 OK in 64ms (Views: 50.8ms | ActiveRecord: 3.3ms) Started DELETE "/users/sign_out" for 127.0.0.1 at 2019-01-20 18:32:49 +1100 Processing by Devise::SessionsController#destroy as HTML Parameters: {"authenticity_token"=>"ROXGC0iYC3f+cQOrf5I2Rq0oLES7jOtM2qfpBImV2AiQ/FNOK8cq00WPwQOadwH8EC+xlnBbUnfU6bktzGICag=="} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/ Completed 302 Found in 559ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2019-01-20 18:32:50 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (3.1ms) Rendered layouts/_flash.html.slim (1.9ms) Completed 200 OK in 43ms (Views: 41.1ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 18:32:51 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (1.0ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (23.6ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 88ms (Views: 84.9ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 18:33:06 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"E32jYUH2dSYnJA+R04nL/gkrdzGkmZ1X2JGd7gSCyu//sLg0YSA57hB/qBzzXhfByGC80UQWkbN1QKD4kA+ydg==", "user"=>{"email"=>"general_director@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "general_director@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 127ms (ActiveRecord: 0.6ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-20 18:33:06 +1100 Processing by ReportsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (0.8ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" ORDER BY cities.name ASC ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?, ?, ?) [["id", 4], ["id", 2], ["id", 5], ["id", 3]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" IN (?, ?) [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" IN (?, ?) [["id", 2], ["id", 1]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 1], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 Rendered reports/index.html.slim within layouts/application (166.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (6.2ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 205ms (Views: 195.3ms | ActiveRecord: 4.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-20 18:33:09 +1100 Processing by Authz::HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:14 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (11.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 92ms (Views: 62.9ms | ActiveRecord: 3.0ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 18:33:11 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 90ms (Views: 81.3ms | ActiveRecord: 0.5ms) Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError - Authz::RolesController#index is missing authorization.: Started POST "/authz/__better_errors/93498e4652d91f13/variables" for 127.0.0.1 at 2019-01-20 18:33:11 +1100 Started GET "/authz" for 127.0.0.1 at 2019-01-20 19:50:22 +1100  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::HomeController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (1.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (2.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:10  (0.2ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:14 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (481.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1076ms (Views: 1000.5ms | ActiveRecord: 6.9ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-20 19:50:28 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (1.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.9ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (22.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (38.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 109ms (Views: 89.4ms | ActiveRecord: 1.8ms) Started GET "/authz/business_processes/9" for 127.0.0.1 at 2019-01-20 19:50:34 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:12 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:12  (0.6ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (54.4ms) Authz::Role Load (0.4ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (2.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (15.1ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (98.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 166ms (Views: 147.5ms | ActiveRecord: 2.1ms) Started GET "/authz/business_processes/9/edit" for 127.0.0.1 at 2019-01-20 19:50:42 +1100 Processing by Authz::BusinessProcessesController#edit as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:35 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.7ms)  (0.2ms) SELECT "authz_roles"."name", "authz_roles"."id" FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12  (0.1ms) SELECT "authz_roles"."id" FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16  (0.1ms) SELECT "authz_controller_actions"."id" FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim (17.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_help.html.slim (2.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/edit.html.slim within layouts/authz/application (41.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 103ms (Views: 92.1ms | ActiveRecord: 0.9ms) Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError - Authz::BusinessProcessesController#edit is missing authorization.: Started POST "/authz/__better_errors/64f2494b936ea8af/variables" for 127.0.0.1 at 2019-01-20 19:50:42 +1100 Started GET "/authz/controller_actions/45" for 127.0.0.1 at 2019-01-20 20:10:58 +1100 Processing by Authz::ControllerActionsController#show as HTML Parameters: {"id"=>"45"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 45], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.7ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 45], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:11 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (2.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (15.5ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 45], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:17 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (2.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (14.5ms) User Load (0.3ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_controller_action_id", 45], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application (61.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 160ms (Views: 111.3ms | ActiveRecord: 3.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-20 20:11:03 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.3ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (59.4ms) User Load (1.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (105.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 171ms (Views: 156.8ms | ActiveRecord: 2.4ms) Started GET "/" for 127.0.0.1 at 2019-01-20 20:11:10 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.0ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 54ms (Views: 51.6ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:11:14 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.8ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (12.9ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 51ms (Views: 48.7ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:11:26 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2UEKuCcSWx5P8Mo6iaHRtu8E0LMTqkoOT7VW7zmPVposDiG7PTffsCmKWr2M8Pu3NzOPx8U0VpQwWwzZ9KbdkQ==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Completed 401 Unauthorized in 109ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2UEKuCcSWx5P8Mo6iaHRtu8E0LMTqkoOT7VW7zmPVposDiG7PTffsCmKWr2M8Pu3NzOPx8U0VpQwWwzZ9KbdkQ==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (5.5ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 134ms (Views: 40.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:11:38 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"PjZjxYkKBy0RPeMfmDxC59S4Huu8ozbiLvqCOye9Q7jLeUjGky+Dg3dHc5idbWjmDI9Bn2o9KnhRFNgN6pTIsw==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Completed 401 Unauthorized in 98ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"PjZjxYkKBy0RPeMfmDxC59S4Huu8ozbiLvqCOye9Q7jLeUjGky+Dg3dHc5idbWjmDI9Bn2o9KnhRFNgN6pTIsw==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (6.5ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 134ms (Views: 39.3ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:11:59 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5KAF6aORcfHCIq1NJelttCSC6r/h7TKYNfuqISCdMbgR7y7qubT1X6RYPcoguEe1/LW1yzdzLgJKFfAX7bS6sw==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Completed 401 Unauthorized in 97ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5KAF6aORcfHCIq1NJelttCSC6r/h7TKYNfuqISCdMbgR7y7qubT1X6RYPcoguEe1/LW1yzdzLgJKFfAX7bS6sw==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (6.5ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 147ms (Views: 50.8ms | ActiveRecord: 0.0ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-20 20:12:11 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (32.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 95ms (Views: 83.1ms | ActiveRecord: 0.7ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:12:24 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XRBl17+/9/++wHDPYBS76MkEtScRs1Jw8t+4KCTB68KoX07UpZpzUdi64EhlRZHpETPqU8ctTuqNMeIe6ehgyQ==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XRBl17+/9/++wHDPYBS76MkEtScRs1Jw8t+4KCTB68KoX07UpZpzUdi64EhlRZHpETPqU8ctTuqNMeIe6ehgyQ==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.7ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (5.7ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 40ms (Views: 39.8ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:12:42 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tK4TfoUT+3S4UMuOlSWdQw1q+8dLJficbkuZRgEVt4tB4Th9nzZ/2t4qWwmQdLdC1V2ks5275AYRpcNwzDw8gA==", "user"=>{"email"=>"ny_auditor@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_auditor@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Completed 401 Unauthorized in 97ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tK4TfoUT+3S4UMuOlSWdQw1q+8dLJficbkuZRgEVt4tB4Th9nzZ/2t4qWwmQdLdC1V2ks5275AYRpcNwzDw8gA==", "user"=>{"email"=>"ny_auditor@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.6ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (6.1ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 136ms (Views: 39.5ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2019-01-20 20:12:47 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.7ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 31ms (Views: 29.4ms | ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:12:50 +1100 Processing by Devise::SessionsController#new as HTML Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (5.4ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 41ms (Views: 40.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:13:08 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Bz+G06RJrZmHJT+rvpxgVV4T5B6FqqFSisuYPVJ4ZZ3ycK3QvmwpN+Ffryy7zUpUhiS7alM0vcj1JcILn1Hulg==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Completed 401 Unauthorized in 98ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Bz+G06RJrZmHJT+rvpxgVV4T5B6FqqFSisuYPVJ4ZZ3ycK3QvmwpN+Ffryy7zUpUhiS7alM0vcj1JcILn1Hulg==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendering /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/shared/_links.html.erb (0.5ms) Rendered /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/devise-4.5.0/app/views/devise/sessions/new.html.erb within layouts/application (5.5ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 134ms (Views: 37.5ms | ActiveRecord: 0.0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2019-01-20 20:13:12 +1100 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vXuW5lsanOV59stoP+R6PC0hCSE5/NJJLiLl6Xo2VPpINL3lQT8YSx+MW+86tVA99RZWVe9iztNRzL/ftx/f8Q==", "user"=>{"email"=>"ny_agent@cia.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "ny_agent@cia.com"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Redirected to http://localhost:3000/user_root Completed 302 Found in 115ms (ActiveRecord: 0.2ms) Started GET "/user_root" for 127.0.0.1 at 2019-01-20 20:13:12 +1100 Processing by ReportsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ScopingRule Load (0.9ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.6ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 Authz::ScopingRule Load (0.2ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:69  (0.6ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendering reports/index.html.slim within layouts/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Report Load (1.3ms) SELECT "reports".* FROM "reports" LEFT OUTER JOIN "cities" ON "cities"."id" = "reports"."city_id" LEFT OUTER JOIN "clearances" ON "clearances"."id" = "reports"."clearance_id" WHERE "cities"."id" = ? AND "clearances"."id" = ? ORDER BY cities.name ASC [["id", 1], ["id", 2]] ↳ app/views/reports/index.html.slim:18 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 4], ["id", 2]] ↳ app/views/reports/index.html.slim:18 City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? [["id", 1]] ↳ app/views/reports/index.html.slim:18 Clearance Load (0.1ms) SELECT "clearances".* FROM "clearances" WHERE "clearances"."id" = ? [["id", 2]] ↳ app/views/reports/index.html.slim:18 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByCity"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "cities"."id" FROM "cities" WHERE (LOWER(name) IS 'new york') ↳ app/scopables/scopable_by_city.rb:9 CACHE Authz::ScopingRule Load (0.0ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? AND "authz_scoping_rules"."scopable" = ? LIMIT ? [["authz_role_id", 4], ["scopable", "ScopableByClearance"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/scoping_manager.rb:18 CACHE (0.0ms) SELECT "clearances"."id" FROM "clearances" WHERE (LOWER(name) IS 'secret') ↳ app/scopables/scopable_by_clearance.rb:9 Rendered reports/index.html.slim within layouts/application (108.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (15.9ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 186ms (Views: 148.2ms | ActiveRecord: 9.0ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-20 20:13:19 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 20:13:19 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (9.0ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 54ms (Views: 51.3ms | ActiveRecord: 1.0ms) Started GET "/authz/business_processes/7" for 127.0.0.1 at 2019-01-20 20:13:24 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"7"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 7], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [1 times] (2.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (15.1ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 7], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.5ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 7], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (61.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 128ms (Views: 111.9ms | ActiveRecord: 1.2ms) Started GET "/authz/business_processes/7" for 127.0.0.1 at 2019-01-20 20:13:34 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"7"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2019-01-20 20:13:34 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.1ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 42ms (Views: 39.7ms | ActiveRecord: 1.0ms) Started GET "/authz/business_processes/7" for 127.0.0.1 at 2019-01-20 20:13:39 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"7"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 20:13:39 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (7.7ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 40ms (Views: 37.6ms | ActiveRecord: 0.9ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 21:20:09 +1100 Processing by Authz::RolesController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.2ms)  (0.5ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (22.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (38.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.3ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 123ms (Views: 105.7ms | ActiveRecord: 2.2ms) Authz::Controllers::AuthorizationManager::AuthorizationNotPerformedError - Authz::RolesController#index is missing authorization.: Started POST "/authz/__better_errors/741f24ac4407d5fa/variables" for 127.0.0.1 at 2019-01-20 21:20:09 +1100  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.6ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.8ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 10:31:35.466998"], ["updated_at", "2019-01-20 10:31:35.466998"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 10:31:35.470628"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.5ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.6ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.8ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.8ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (1.1ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 10:32:23.730297"], ["updated_at", "2019-01-20 10:32:23.730297"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 10:32:23.733662"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.8ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.8ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.8ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.8ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.7ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.7ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 10:40:48.033612"], ["updated_at", "2019-01-20 10:40:48.033612"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.3ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-20 10:40:48.045000"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 21:41:15 +1100 Processing by Authz::RolesController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (1.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (2.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.1ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (19.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (34.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 159ms (Views: 99.6ms | ActiveRecord: 5.7ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-20 21:41:19 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (22.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (36.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 102ms (Views: 90.1ms | ActiveRecord: 0.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-20 21:41:20 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.4ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (6.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (67.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (82.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 147ms (Views: 135.2ms | ActiveRecord: 1.0ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-20 21:41:22 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.4ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (10.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 75ms (Views: 62.5ms | ActiveRecord: 1.2ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 21:41:24 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (30.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 94ms (Views: 83.1ms | ActiveRecord: 0.8ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-20 21:41:39 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (18.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (33.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 109ms (Views: 97.6ms | ActiveRecord: 0.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-20 21:42:20 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (54.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (68.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 132ms (Views: 120.1ms | ActiveRecord: 0.8ms) Started GET "/authz/controller_actions?controller_actions_page=3" for 127.0.0.1 at 2019-01-20 21:42:24 +1100 Processing by Authz::ControllerActionsController#index as HTML Parameters: {"controller_actions_page"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 50]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (64.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (77.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 140ms (Views: 129.3ms | ActiveRecord: 0.9ms) Started GET "/authz/controller_actions?controller_actions_page=3" for 127.0.0.1 at 2019-01-20 21:42:30 +1100 Processing by Authz::ControllerActionsController#index as HTML Parameters: {"controller_actions_page"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 21:42:30 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (18.2ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 57ms (Views: 53.5ms | ActiveRecord: 1.0ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 21:42:37 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 94ms (Views: 83.5ms | ActiveRecord: 0.7ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 21:42:41 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2019-01-20 21:42:41 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.7ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 48ms (Views: 45.0ms | ActiveRecord: 1.0ms) Started GET "/authz/roles/new" for 127.0.0.1 at 2019-01-20 21:42:44 +1100 Processing by Authz::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.8ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13 User Load (0.1ms) SELECT "users".* FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim (9.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_help.html.slim (2.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application (33.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 97ms (Views: 85.8ms | ActiveRecord: 1.0ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/roles/new" for 127.0.0.1 at 2019-01-20 21:42:52 +1100 Processing by Authz::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2019-01-20 21:42:52 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.0ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.9ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-20 21:43:55 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.9ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (19.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (34.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 111ms (Views: 98.1ms | ActiveRecord: 0.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-20 21:43:56 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (53.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (67.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 130ms (Views: 119.0ms | ActiveRecord: 0.8ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-20 21:43:58 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (10.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 72ms (Views: 61.2ms | ActiveRecord: 0.7ms) Started GET "/authz/users/3" for 127.0.0.1 at 2019-01-20 21:44:00 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.5ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [8 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.3ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 3], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (39.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (95.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 163ms (Views: 147.0ms | ActiveRecord: 1.4ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-20 21:44:02 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (31.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 110ms (Views: 99.2ms | ActiveRecord: 0.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-20 21:44:04 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (52.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (66.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 131ms (Views: 120.0ms | ActiveRecord: 0.9ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-20 21:44:14 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 94ms (Views: 84.4ms | ActiveRecord: 0.6ms) Started GET "/authz/roles/6" for 127.0.0.1 at 2019-01-20 21:44:19 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"6"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.9ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 6], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 6], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [4 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 6], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [5 times] (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (15.0ms) User Load (1.6ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 6], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (6.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (59.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 133ms (Views: 110.4ms | ActiveRecord: 3.9ms) Started GET "/authz/roles/6" for 127.0.0.1 at 2019-01-20 21:44:26 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"6"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for 127.0.0.1 at 2019-01-20 21:44:26 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (9.0ms) Rendered layouts/_flash.html.slim (1.9ms) Completed 200 OK in 51ms (Views: 48.3ms | ActiveRecord: 1.1ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-20 21:44:30 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (52.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (65.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (9.5ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 138ms (Views: 127.5ms | ActiveRecord: 0.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-20 21:44:37 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2019-01-20 21:44:37 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 4], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 4], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (9.0ms) Rendered layouts/_flash.html.slim (1.5ms) Completed 200 OK in 44ms (Views: 41.9ms | ActiveRecord: 1.1ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:13:05 +1100  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::ControllerActionsController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (1.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (2.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.0ms)  (0.6ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.6ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (622.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (645.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1222ms (Views: 1158.5ms | ActiveRecord: 6.6ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:13:11 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (60.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (75.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (5.6ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 193ms (Views: 181.4ms | ActiveRecord: 1.0ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:15:06 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (6.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (65.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (82.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.3ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 173ms (Views: 160.4ms | ActiveRecord: 0.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:16:51 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (56.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (72.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 144ms (Views: 134.4ms | ActiveRecord: 0.9ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:17:26 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (11.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (60.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (76.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 146ms (Views: 135.9ms | ActiveRecord: 0.9ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:17:27 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (52.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (65.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 128ms (Views: 117.1ms | ActiveRecord: 1.0ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:17:52 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (54.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (67.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 131ms (Views: 121.3ms | ActiveRecord: 0.9ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:18:18 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.4ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (56.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (69.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 133ms (Views: 123.7ms | ActiveRecord: 1.0ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:20:41 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.3ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (57.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (74.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 152ms (Views: 140.4ms | ActiveRecord: 0.9ms) Started GET "/" for 127.0.0.1 at 2019-01-21 12:21:17 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (33.1ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 86ms (Views: 83.3ms | ActiveRecord: 1.2ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:21:20 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.8ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (10.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 101ms (Views: 64.0ms | ActiveRecord: 3.6ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:21:37 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 95ms (Views: 84.8ms | ActiveRecord: 0.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:24:23 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (34.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 107ms (Views: 96.7ms | ActiveRecord: 0.7ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:24:54 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (20.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (34.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 104ms (Views: 93.6ms | ActiveRecord: 0.7ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:25:40 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (33.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 105ms (Views: 94.2ms | ActiveRecord: 0.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:26:02 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (4.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (20.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (35.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 108ms (Views: 97.2ms | ActiveRecord: 0.7ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:26:40 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 104ms (Views: 93.4ms | ActiveRecord: 0.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:27:16 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (35.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 104ms (Views: 93.4ms | ActiveRecord: 0.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:28:18 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 102ms (Views: 92.1ms | ActiveRecord: 0.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:28:54 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 95ms (Views: 85.5ms | ActiveRecord: 0.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:30:02 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (30.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 94ms (Views: 83.7ms | ActiveRecord: 0.7ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:30:17 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (30.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 94ms (Views: 84.1ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2019-01-21 12:30:32 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.8ms) Rendered layouts/_flash.html.slim (2.3ms) Completed 200 OK in 61ms (Views: 58.2ms | ActiveRecord: 0.9ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:31:25 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 102ms (Views: 91.3ms | ActiveRecord: 0.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:31:47 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (30.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 94ms (Views: 83.9ms | ActiveRecord: 0.7ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:32:04 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (30.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 93ms (Views: 84.0ms | ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2019-01-21 12:32:26 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.4ms) Rendered layouts/_flash.html.slim (1.6ms) Completed 200 OK in 47ms (Views: 44.1ms | ActiveRecord: 1.0ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:32:28 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (6.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 86ms (Views: 58.8ms | ActiveRecord: 4.1ms) Started GET "/" for 127.0.0.1 at 2019-01-21 12:32:41 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (8.0ms) Rendered layouts/_flash.html.slim (8.9ms) Completed 200 OK in 51ms (Views: 48.2ms | ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:32:43 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (5.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 82ms (Views: 57.3ms | ActiveRecord: 3.6ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:32:47 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (30.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 93ms (Views: 82.1ms | ActiveRecord: 0.9ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 12:32:48 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (21.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (36.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 100ms (Views: 89.1ms | ActiveRecord: 0.9ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:32:48 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.5ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (54.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (68.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 134ms (Views: 123.6ms | ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:32:49 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (5.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 80ms (Views: 58.3ms | ActiveRecord: 3.1ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:35:21 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (14.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (12.3ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 96ms (ActiveRecord: 3.8ms) ArgumentError - unknown keyword: class: Started POST "/authz/__better_errors/1f1874ef9b7182c0/variables" for 127.0.0.1 at 2019-01-21 12:35:21 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:35:45 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (6.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.2ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 83ms (ActiveRecord: 3.9ms) ActionController::RoutingError - No route matches "/authz": Started POST "/authz/__better_errors/9e1c9d73c2555feb/variables" for 127.0.0.1 at 2019-01-21 12:35:45 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:36:11 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (6.6ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (5.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 94ms (Views: 62.6ms | ActiveRecord: 4.8ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:36:13 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (6.8ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 88ms (Views: 62.5ms | ActiveRecord: 3.7ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:37:34 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (4.4ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (10.5ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 79ms (ActiveRecord: 3.6ms) ArgumentError - unknown keyword: class: Started POST "/authz/__better_errors/abb02cea5bfa3d96/variables" for 127.0.0.1 at 2019-01-21 12:37:34 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:37:51 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (5.2ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (16.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.3ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 99ms (Views: 73.1ms | ActiveRecord: 4.3ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:40:47 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (8.1ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (12.2ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 110ms (ActiveRecord: 4.4ms) ArgumentError - unknown keyword: class: Started POST "/authz/__better_errors/ef00fa70fb503185/variables" for 127.0.0.1 at 2019-01-21 12:40:47 +1100 Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:42:13 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (7.1ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (10.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (3.4ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 107ms (Views: 76.5ms | ActiveRecord: 4.7ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 12:42:49 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.2ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.2ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (9.1ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (14.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.2ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 117ms (Views: 77.6ms | ActiveRecord: 5.3ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 12:43:15 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.4ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (4.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (23.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (40.4ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 112ms (Views: 100.8ms | ActiveRecord: 1.2ms) Started GET "/authz/business_processes/new" for 127.0.0.1 at 2019-01-21 12:43:27 +1100 Processing by Authz::BusinessProcessesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (2.3ms)  (0.1ms) SELECT "authz_roles"."name", "authz_roles"."id" FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim (53.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_help.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/new.html.slim within layouts/authz/application (82.0ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 155ms (Views: 142.2ms | ActiveRecord: 1.7ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/validations/business_process_names/new?business_process%5Bname%5D=Grant+Roles" for 127.0.0.1 at 2019-01-21 12:43:53 +1100 Processing by Authz::Validations::BusinessProcessNamesController#new as JSON Parameters: {"business_process"=>{"name"=>"Grant Roles"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/validations/business_process_names"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "grant_roles"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/validations/business_process_names_controller.rb:8  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 59ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started POST "/authz/business_processes" for 127.0.0.1 at 2019-01-21 12:44:32 +1100 Processing by Authz::BusinessProcessesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Pb4akZRGgAFNi2HR2T0ouHiBrb41Kzxxubt6IF2M9kmQvbnI0A/aeRdgFfDXGMPf812qv8dkYISIywG3QGSBbA==", "business_process"=>{"name"=>"Grant Roles", "description"=>"A person who can only grant roles", "role_ids"=>[""], "controller_action_ids"=>["", "77", "78", "79", "80"]}, "commit"=>"Create"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" IN (?, ?, ?, ?) [["id", 77], ["id", 78], ["id", 79], ["id", 80]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:25 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE 1=0 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:25 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? LIMIT ? [["code", "grant_roles"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? LIMIT ? [["name", "Grant Roles"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.9ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" IS NULL LIMIT ? [["authz_controller_action_id", 77], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" IS NULL LIMIT ? [["authz_controller_action_id", 78], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" IS NULL LIMIT ? [["authz_controller_action_id", 79], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.4ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" IS NULL LIMIT ? [["authz_controller_action_id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."id" != ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["id", 77], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."id" != ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["id", 78], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."id" != ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["id", 79], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."id" != ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/rolables"], ["id", 80], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcess Create (0.6ms) INSERT INTO "authz_business_processes" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "grant_roles"], ["name", "Grant Roles"], ["description", "A person who can only grant roles"], ["created_at", "2019-01-21 01:44:32.916510"], ["updated_at", "2019-01-21 01:44:32.916510"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 77], ["authz_business_process_id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Create (0.2ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 77], ["authz_business_process_id", 10], ["created_at", "2019-01-21 01:44:32.918408"], ["updated_at", "2019-01-21 01:44:32.918408"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 78], ["authz_business_process_id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 78], ["authz_business_process_id", 10], ["created_at", "2019-01-21 01:44:32.919694"], ["updated_at", "2019-01-21 01:44:32.919694"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 79], ["authz_business_process_id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 79], ["authz_business_process_id", 10], ["created_at", "2019-01-21 01:44:32.920894"], ["updated_at", "2019-01-21 01:44:32.920894"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Authz::BusinessProcessHasControllerAction Create (0.1ms) INSERT INTO "authz_business_process_has_controller_actions" ("authz_controller_action_id", "authz_business_process_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_controller_action_id", 80], ["authz_business_process_id", 10], ["created_at", "2019-01-21 01:44:32.922188"], ["updated_at", "2019-01-21 01:44:32.922188"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:26 Redirected to http://localhost:3000/authz/business_processes/10  (0.9ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 34ms (ActiveRecord: 5.2ms) Started GET "/authz/business_processes/10" for 127.0.0.1 at 2019-01-21 12:44:32 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"10"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 10], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [4 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (16.5ms) Authz::Role Load (0.7ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 10], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:18 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_empty_association.html.slim (2.0ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 10], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (50.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 120ms (Views: 106.7ms | ActiveRecord: 2.4ms) Started GET "/authz/business_processes/10/edit" for 127.0.0.1 at 2019-01-21 12:44:44 +1100 Processing by Authz::BusinessProcessesController#edit as HTML Parameters: {"id"=>"10"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:34 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (2.0ms)  (0.1ms) SELECT "authz_roles"."name", "authz_roles"."id" FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12  (0.1ms) SELECT "authz_roles"."id" FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? [["authz_business_process_id", 10]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16  (0.1ms) SELECT "authz_controller_actions"."id" FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 10]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_help.html.slim (2.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/edit.html.slim within layouts/authz/application (32.2ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 102ms (Views: 90.7ms | ActiveRecord: 1.6ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:44:48 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (34.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 115ms (Views: 103.0ms | ActiveRecord: 1.3ms) Started GET "/authz/roles/new" for 127.0.0.1 at 2019-01-21 12:44:50 +1100 Processing by Authz::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.7ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13 User Load (0.1ms) SELECT "users".* FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim (9.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_help.html.slim (2.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application (32.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 105ms (Views: 93.0ms | ActiveRecord: 1.5ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/validations/role_names/new?role%5Bname%5D=Role+Granter" for 127.0.0.1 at 2019-01-21 12:44:55 +1100 Processing by Authz::Validations::RoleNamesController#new as JSON Parameters: {"role"=>{"name"=>"Role Granter"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "role_granter"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/validations/role_names_controller.rb:8  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started POST "/authz/roles" for 127.0.0.1 at 2019-01-21 12:45:15 +1100 Processing by Authz::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"n7/1tK4lPce/SH00QbpnP3cdq580JviExWqA/AXiY30yvFbt6mxnv+WjCRVPn4xY/MGsnsZppHH0GvtrGAoUWA==", "role"=>{"name"=>"Role Granter", "description"=>"a person that can only grant roles", "business_process_ids"=>["", "10"], "user_ids"=>["", "1"]}, "commit"=>"Create"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? [["id", 10]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:26 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:26 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "role_granter"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "Role Granter"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" IS NULL LIMIT ? [["authz_business_process_id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? AND "authz_business_processes"."id" != ? LIMIT ? [["code", "grant_roles"], ["id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? AND "authz_business_processes"."id" != ? LIMIT ? [["name", "Grant Roles"], ["id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" IS NULL AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::Role Create (0.2ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "role_granter"], ["name", "Role Granter"], ["description", "a person that can only grant roles"], ["created_at", "2019-01-21 01:45:15.294616"], ["updated_at", "2019-01-21 01:45:15.294616"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 10], ["authz_role_id", 8], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 10], ["authz_role_id", 8], ["created_at", "2019-01-21 01:45:15.295970"], ["updated_at", "2019-01-21 01:45:15.295970"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 8], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleGrant Create (0.6ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 8], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-21 01:45:15.297243"], ["updated_at", "2019-01-21 01:45:15.297243"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Redirected to http://localhost:3000/authz/roles/8  (1.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 27ms (ActiveRecord: 3.9ms) Started GET "/authz/roles/8" for 127.0.0.1 at 2019-01-21 12:45:15 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"8"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (2.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [4 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (17.2ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 8], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (61.4ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 131ms (Views: 117.9ms | ActiveRecord: 1.7ms) Started GET "/authz/roles/8/edit" for 127.0.0.1 at 2019-01-21 12:45:34 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"8"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:35 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.9ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13  (0.1ms) SELECT "authz_business_processes"."id" FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 8]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13 User Load (0.1ms) SELECT "users".* FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20  (0.1ms) SELECT "authz_role_grants"."id" FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? [["authz_role_id", 8]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20  (0.1ms) SELECT "users"."id" FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 8], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim (6.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_help.html.slim (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/edit.html.slim within layouts/authz/application (32.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (17.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 114ms (Views: 102.3ms | ActiveRecord: 1.6ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:45:39 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [8 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (33.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 103ms (Views: 89.9ms | ActiveRecord: 1.3ms) Started GET "/authz/roles/8" for 127.0.0.1 at 2019-01-21 12:45:42 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"8"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.0ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [4 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (17.8ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 8], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (5.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (62.5ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 131ms (Views: 118.3ms | ActiveRecord: 1.9ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 12:45:57 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.6ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (12.2ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 84ms (Views: 71.5ms | ActiveRecord: 1.9ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:45:59 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [8 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.9ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 101ms (Views: 89.6ms | ActiveRecord: 1.3ms) Started GET "/authz/roles/8" for 127.0.0.1 at 2019-01-21 12:46:01 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"8"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (2.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.5ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [4 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (16.6ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 8], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (5.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (59.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 139ms (Views: 116.7ms | ActiveRecord: 1.9ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 12:47:28 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (11.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 96ms (Views: 84.3ms | ActiveRecord: 1.4ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:47:31 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [8 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.1ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 101ms (Views: 88.8ms | ActiveRecord: 1.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 12:47:33 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (19.5ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (66.8ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (115.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 185ms (Views: 172.4ms | ActiveRecord: 2.0ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:37 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:35 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (10.2ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13  (0.1ms) SELECT "authz_business_processes"."id" FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13 User Load (0.1ms) SELECT "users".* FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20  (0.1ms) SELECT "authz_role_grants"."id" FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20  (0.1ms) SELECT "users"."id" FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim (6.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_help.html.slim (2.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/edit.html.slim within layouts/authz/application (40.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 109ms (Views: 96.6ms | ActiveRecord: 1.6ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/validations/role_names/1/edit?role%5Bname%5D=general_director" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::Validations::RoleNamesController#edit as JSON Parameters: {"role"=>{"name"=>"general_director"}, "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/validations/role_names"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/validations/role_names_controller.rb:17  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started PATCH "/authz/roles/1" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"l7nfYJWUl+oV1gt4uMDIo+JU7lA5iapy87Gbere/wYc6unw50d3Nkk89f1m25SPEaYjpUcvG9ofCweDtqle2og==", "role"=>{"name"=>"general_director", "description"=>"general_director", "business_process_ids"=>["", "1", "2", "3", "4", "5", "6", "7", "8"], "user_ids"=>["", "1"]}, "commit"=>"Save", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:39 Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" IN (?, ?, ?, ?, ?, ?, ?, ?) [["id", 1], ["id", 2], ["id", 3], ["id", 4], ["id", 5], ["id", 6], ["id", 7], ["id", 8]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:40 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:40 Authz::RoleHasBusinessProcess Destroy (1.5ms) DELETE FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_role_has_business_processes"."authz_business_process_id" = ? [["authz_role_id", 1], ["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:40 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:40 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:40 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? AND "authz_roles"."id" != ? LIMIT ? [["code", "general_director"], ["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:40 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? AND "authz_roles"."id" != ? LIMIT ? [["name", "general_director"], ["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:40 Redirected to http://localhost:3000/authz/roles/1  (1.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 14ms (ActiveRecord: 4.0ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/authz/roles/1/edit" for 127.0.0.1 at 2019-01-21 12:47:46 +1100 Processing by Authz::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Redirected to http://localhost:3000/authz/roles/1/edit Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2019-01-21 12:47:53 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (11.1ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 50ms (Views: 46.6ms | ActiveRecord: 1.4ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 12:48:18 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (11.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (12.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (10.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 97ms (Views: 82.7ms | ActiveRecord: 2.1ms) Started GET "/authz/users/1" for 127.0.0.1 at 2019-01-21 12:48:33 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [2 times] (2.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.2ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (4.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (18.2ms) Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (43.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (101.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (11.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 182ms (Views: 162.5ms | ActiveRecord: 2.7ms) Started GET "/authz/users/1/edit" for 127.0.0.1 at 2019-01-21 12:48:46 +1100 Processing by Authz::RolablesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:17 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (2.1ms)  (0.1ms) SELECT "authz_roles"."name", "authz_roles"."id" FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_fields.html.slim:4  (0.1ms) SELECT "authz_roles"."id" FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_fields.html.slim (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/edit.html.slim within layouts/authz/application (20.2ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (11.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 95ms (Views: 81.4ms | ActiveRecord: 2.1ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started PATCH "/authz/users/1" for 127.0.0.1 at 2019-01-21 12:49:18 +1100 Processing by Authz::RolablesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"diyKoGH9GYWVaG7p1xb0K2ZCkepLSm+tkK+S9T2pA3LbLyn5JbRD/c+DGsjZMx9M7Z6W67kFM1ih3+liIEF0Vw==", "user"=>{"role_ids"=>["", "1", "4", "8"]}, "commit"=>"Save", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:21 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" IN (?, ?, ?) [["id", 1], ["id", 4], ["id", 8]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:22 CACHE Authz::Role Load (0.0ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:22 Authz::RoleGrant Exists (0.1ms) SELECT 1 AS one FROM "authz_role_grants" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? AND "authz_role_grants"."rolable_id" = ? LIMIT ? [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:22 Authz::RoleGrant Create (1.7ms) INSERT INTO "authz_role_grants" ("authz_role_id", "rolable_type", "rolable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authz_role_id", 4], ["rolable_type", "User"], ["rolable_id", 1], ["created_at", "2019-01-21 01:49:18.693784"], ["updated_at", "2019-01-21 01:49:18.693784"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:22 Redirected to http://localhost:3000/authz/users/1  (0.7ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 13ms (ActiveRecord: 3.5ms) Started GET "/authz/users/1" for 127.0.0.1 at 2019-01-21 12:49:18 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [3 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.9ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [17 times] (4.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.7ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (51.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (109.4ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 4], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 8], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (16.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.3ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 193ms (Views: 176.3ms | ActiveRecord: 3.4ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."id" DESC LIMIT ? [["LIMIT", 2]] Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] Authz::BusinessProcess Load (0.3ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]]  (0.1ms) begin transaction Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 9], ["authz_role_id", 1], ["LIMIT", 1]] Authz::RoleHasBusinessProcess Create (0.4ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 9], ["authz_role_id", 1], ["created_at", "2019-01-21 01:51:21.060113"], ["updated_at", "2019-01-21 01:51:21.060113"]]  (1.7ms) commit transaction Authz::BusinessProcess Load (0.3ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_role_id", 1], ["LIMIT", 11]] Started GET "/authz/users/1" for 127.0.0.1 at 2019-01-21 12:51:23 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [3 times] (2.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.8ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [18 times] (4.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (18.2ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 1], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (5.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (53.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (112.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 198ms (Views: 182.6ms | ActiveRecord: 2.1ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 12:52:22 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.2ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (4.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (56.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (73.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 156ms (Views: 143.2ms | ActiveRecord: 1.5ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 12:52:24 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [10 times] (4.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (19.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (33.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 103ms (Views: 92.7ms | ActiveRecord: 1.2ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:52:27 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [8 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 103ms (Views: 91.7ms | ActiveRecord: 1.2ms) Started GET "/authz/roles/8" for 127.0.0.1 at 2019-01-21 12:52:30 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"8"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (2.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 8], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [4 times] (2.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (15.5ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 8], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (66.4ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 137ms (Views: 122.7ms | ActiveRecord: 1.9ms) Started DELETE "/authz/roles/8" for 127.0.0.1 at 2019-01-21 12:52:35 +1100 Processing by Authz::RolesController#destroy as HTML Parameters: {"authenticity_token"=>"eH19HXexsl7GaWwJCR2FR21B0cbjkfT+wwd4k0b1kk/Vft5EM/joJpyCGCgHOG4g5p3WxxHeqAvydwMEWx3lag==", "id"=>"8"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:48 Authz::RoleHasBusinessProcess Load (0.1ms) SELECT "authz_role_has_business_processes".* FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 8]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:49 Authz::RoleHasBusinessProcess Destroy (1.9ms) DELETE FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."id" = ? [["id", 50]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:49 Authz::Role Destroy (0.1ms) DELETE FROM "authz_roles" WHERE "authz_roles"."id" = ? [["id", 8]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:49 Redirected to http://localhost:3000/authz/roles  (0.9ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 10ms (ActiveRecord: 3.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 12:52:35 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.4ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 98ms (Views: 89.0ms | ActiveRecord: 1.1ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 12:52:38 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [10 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (31.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 98ms (Views: 87.2ms | ActiveRecord: 1.3ms) Started GET "/authz/business_processes/10" for 127.0.0.1 at 2019-01-21 12:52:40 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"10"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 10], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [4 times] (2.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (15.6ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 10], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:18 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_empty_association.html.slim (2.0ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 10], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (42.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 115ms (Views: 101.1ms | ActiveRecord: 1.9ms) Started DELETE "/authz/business_processes/10" for 127.0.0.1 at 2019-01-21 12:52:47 +1100 Processing by Authz::BusinessProcessesController#destroy as HTML Parameters: {"authenticity_token"=>"KEdKT/fdVG2RJNI+R6kXdtwTBBfLoIHbYPv9jGp7s4SFROkWs5QOFcvPph9JjPwRV88DFjnv3S5Ri4Ybd5PEoQ==", "id"=>"10"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:47 Authz::BusinessProcessHasControllerAction Load (0.1ms) SELECT "authz_business_process_has_controller_actions".* FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 10]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:48 Authz::BusinessProcessHasControllerAction Destroy (0.3ms) DELETE FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."id" = ? [["id", 65]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:48 Authz::BusinessProcessHasControllerAction Destroy (0.1ms) DELETE FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."id" = ? [["id", 66]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:48 Authz::BusinessProcessHasControllerAction Destroy (0.1ms) DELETE FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."id" = ? [["id", 67]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:48 Authz::BusinessProcessHasControllerAction Destroy (0.1ms) DELETE FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."id" = ? [["id", 68]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:48 Authz::RoleHasBusinessProcess Load (0.1ms) SELECT "authz_role_has_business_processes".* FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? [["authz_business_process_id", 10]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:48 Authz::BusinessProcess Destroy (0.1ms) DELETE FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? [["id", 10]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:48 Redirected to http://localhost:3000/authz/business_processes  (0.8ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 11ms (ActiveRecord: 2.3ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 12:52:47 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (32.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 101ms (Views: 90.4ms | ActiveRecord: 1.2ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 12:52:49 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms) Authz::BusinessProcess Load (0.3ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (20.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (35.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 104ms (Views: 92.6ms | ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2019-01-21 12:58:41 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (9.3ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 1.1ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim__3041435394039067933_70205555006280' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__26579773184102130_70205485305460' Started POST "/__better_errors/d76569bcef92029c/variables" for 127.0.0.1 at 2019-01-21 12:58:41 +1100 Started GET "/" for 127.0.0.1 at 2019-01-21 13:02:45 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (9.1ms) Completed 500 Internal Server Error in 44ms (ActiveRecord: 0.8ms) ActionController::RoutingError - No route matches "/authz": app/views/layouts/_nav.html.slim:9:in `_app_views_layouts__nav_html_slim__3041435394039067933_70205563523840' app/views/layouts/application.html.slim:17:in `_app_views_layouts_application_html_slim__26579773184102130_70205564208020' Started POST "/__better_errors/01264c0e42e805b2/variables" for 127.0.0.1 at 2019-01-21 13:02:46 +1100 Started GET "/" for 127.0.0.1 at 2019-01-21 13:02:57 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (9.0ms) Rendered layouts/_flash.html.slim (1.8ms) Completed 200 OK in 44ms (Views: 41.4ms | ActiveRecord: 0.9ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 13:03:12 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (6.8ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 109ms (Views: 73.6ms | ActiveRecord: 4.2ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:04:03 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (22.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (38.1ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 110ms (Views: 98.3ms | ActiveRecord: 1.3ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:04:15 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 101ms (Views: 89.5ms | ActiveRecord: 1.4ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:04:35 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (33.4ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 104ms (Views: 92.7ms | ActiveRecord: 1.3ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:05:08 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (33.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 114ms (Views: 103.0ms | ActiveRecord: 1.5ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:05:10 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.7ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 102ms (Views: 90.7ms | ActiveRecord: 1.3ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:05:13 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 100ms (Views: 88.3ms | ActiveRecord: 1.4ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:05:37 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 101ms (Views: 89.8ms | ActiveRecord: 1.4ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:06:06 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.5ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (7.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (23.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (45.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (6.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 597ms (Views: 523.4ms | ActiveRecord: 2.6ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:06:19 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (1.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (29.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 93ms (Views: 81.7ms | ActiveRecord: 0.9ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:06:29 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (12.1ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (4.9ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (28.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (60.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (25.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 563ms (Views: 506.0ms | ActiveRecord: 7.7ms) Started GET "/authz/roles/new" for 127.0.0.1 at 2019-01-21 13:07:13 +1100 Processing by Authz::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (2.2ms)  (0.0ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13 User Load (0.1ms) SELECT "users".* FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim (629.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_help.html.slim (2.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application (655.4ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 726ms (Views: 714.7ms | ActiveRecord: 1.7ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:08:27 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.7ms)  (0.0ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 99ms (Views: 87.2ms | ActiveRecord: 1.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:08:36 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (18.3ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:18  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (63.8ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (114.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 184ms (Views: 170.1ms | ActiveRecord: 2.0ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:10:18 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.5ms) Authz::ControllerAction Load (0.3ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (60.1ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (105.2ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 174ms (Views: 159.8ms | ActiveRecord: 2.4ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:10:19 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (4.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.9ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (68.0ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (112.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.5ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 183ms (Views: 170.4ms | ActiveRecord: 2.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:10:49 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.7ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.1ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (62.1ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (106.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 175ms (Views: 161.8ms | ActiveRecord: 2.1ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:10:50 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.8ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (59.3ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (103.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 174ms (Views: 160.9ms | ActiveRecord: 2.1ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:11:05 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.9ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (523.3ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (7.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (593.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (22.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1122ms (Views: 1066.2ms | ActiveRecord: 3.9ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:11:13 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.9ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (59.8ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (104.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 174ms (Views: 160.6ms | ActiveRecord: 2.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:12:30 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.5ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (539.2ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (610.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (21.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1139ms (Views: 1083.1ms | ActiveRecord: 3.8ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:15:43 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (11.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.4ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (64.9ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (119.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 188ms (Views: 175.9ms | ActiveRecord: 2.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:16:05 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.8ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (524.6ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (586.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1089ms (Views: 1032.8ms | ActiveRecord: 3.5ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:16:30 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (14.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (28.5ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (531.2ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (611.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (19.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1142ms (Views: 1084.3ms | ActiveRecord: 4.0ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:17:08 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_empty_association.html.slim (1.9ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (60.8ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (90.9ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 158ms (Views: 145.8ms | ActiveRecord: 2.1ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:17:56 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_empty_association.html.slim (2.0ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (524.2ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (10.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (578.4ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (27.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1100ms (Views: 1044.8ms | ActiveRecord: 3.9ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:18:32 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_empty_association.html.slim (3.1ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (61.1ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (92.0ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 159ms (Views: 146.2ms | ActiveRecord: 2.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:18:56 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_empty_association.html.slim (6.4ms) Authz::ControllerAction Load (0.1ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (521.9ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (577.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (24.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.2ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1088ms (Views: 1032.3ms | ActiveRecord: 3.9ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:19:05 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.3ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (65.3ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (116.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 185ms (Views: 171.4ms | ActiveRecord: 2.4ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:30:27 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (11.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.6ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_empty_association.html.slim (25.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (68.7ms)  (0.1ms) rollback transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 500 Internal Server Error in 97ms (ActiveRecord: 2.0ms) NoMethodError - undefined method `auth_link_to' for #<#:0x00007f87ecd05f40> Did you mean? authz_link_to: Started POST "/authz/__better_errors/05b74d63c6006a3f/variables" for 127.0.0.1 at 2019-01-21 13:30:28 +1100 Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:30:41 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (17.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (31.6ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_empty_association.html.slim (3.0ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (62.5ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 130ms (Views: 117.6ms | ActiveRecord: 2.2ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:31:55 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (11.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (26.4ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (68.7ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (122.9ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 190ms (Views: 177.2ms | ActiveRecord: 2.5ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:32:21 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.4ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (537.8ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (600.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (4.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1110ms (Views: 1051.5ms | ActiveRecord: 3.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:32:25 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (2.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.1ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (59.3ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (101.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 164ms (Views: 152.3ms | ActiveRecord: 1.3ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:32:45 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (15.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (29.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (15.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (540.1ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (622.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (15.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1144ms (Views: 1087.1ms | ActiveRecord: 4.3ms) Authz::ScopingRule Load (1.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" LIMIT ? [["LIMIT", 11]] Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "general_director"], ["LIMIT", 1]] Authz::ScopingRule Load (0.3ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["authz_role_id", 1], ["LIMIT", 11]] Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:34:19 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (70.2ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (121.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 190ms (Views: 176.4ms | ActiveRecord: 2.5ms)  (0.3ms) SELECT "scopalbe", "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? [["authz_role_id", 1]]  (0.2ms) SELECT "authz_scoping_rules"."scopable", "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."authz_role_id" = ? [["authz_role_id", 1]] Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:35:13 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.0ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (69.6ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (121.7ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 190ms (Views: 176.1ms | ActiveRecord: 2.7ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:35:15 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (23.9ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (17.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (76.8ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (127.9ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 198ms (Views: 183.8ms | ActiveRecord: 2.6ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:36:27 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (528.0ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (607.4ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (30.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (3.3ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1242ms (Views: 1186.3ms | ActiveRecord: 4.8ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:36:37 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 104ms (Views: 91.7ms | ActiveRecord: 1.5ms) Started GET "/authz/roles/new" for 127.0.0.1 at 2019-01-21 13:36:41 +1100 Processing by Authz::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.8ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13 User Load (0.1ms) SELECT "users".* FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim (5.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_help.html.slim (2.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application (28.4ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 97ms (Views: 85.4ms | ActiveRecord: 1.5ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/validations/role_names/new?role%5Bname%5D=safdsda" for 127.0.0.1 at 2019-01-21 13:36:43 +1100 Processing by Authz::Validations::RoleNamesController#new as JSON Parameters: {"role"=>{"name"=>"safdsda"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/validations/role_names"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Exists (0.2ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "safdsda"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/validations/role_names_controller.rb:8  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 52ms (Views: 0.1ms | ActiveRecord: 0.7ms) Started POST "/authz/roles" for 127.0.0.1 at 2019-01-21 13:36:46 +1100 Processing by Authz::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"4qRuQpMlLGdEASmPoJIcfu6nAZVmkQkaBLBd2yjDJH5Pp80b12x2Hx7qXa6ut/cZZXsGlJTeVe81wCZMNStTWw==", "role"=>{"name"=>"safdsda", "description"=>"dsafsaf", "business_process_ids"=>["", "2"], "user_ids"=>[""]}, "commit"=>"Create"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? [["id", 2]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:26 User Load (0.1ms) SELECT "users".* FROM "users" WHERE 1=0 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:26 Authz::Role Exists (0.1ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."code" = ? LIMIT ? [["code", "safdsda"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::Role Exists (0.0ms) SELECT 1 AS one FROM "authz_roles" WHERE "authz_roles"."name" = ? LIMIT ? [["name", "safdsda"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" IS NULL LIMIT ? [["authz_business_process_id", 2], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."code" = ? AND "authz_business_processes"."id" != ? LIMIT ? [["code", "manage_clearances"], ["id", 2], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::BusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_business_processes" WHERE "authz_business_processes"."name" = ? AND "authz_business_processes"."id" != ? LIMIT ? [["name", "Manage clearances"], ["id", 2], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::Role Create (0.3ms) INSERT INTO "authz_roles" ("code", "name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "safdsda"], ["name", "safdsda"], ["description", "dsafsaf"], ["created_at", "2019-01-21 02:36:46.792109"], ["updated_at", "2019-01-21 02:36:46.792109"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleHasBusinessProcess Exists (0.1ms) SELECT 1 AS one FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? [["authz_business_process_id", 2], ["authz_role_id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Authz::RoleHasBusinessProcess Create (0.1ms) INSERT INTO "authz_role_has_business_processes" ("authz_business_process_id", "authz_role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["authz_business_process_id", 2], ["authz_role_id", 9], ["created_at", "2019-01-21 02:36:46.793940"], ["updated_at", "2019-01-21 02:36:46.793940"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:27 Redirected to http://localhost:3000/authz/roles/9  (1.9ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 17ms (ActiveRecord: 3.5ms) Started GET "/authz/roles/9" for 127.0.0.1 at 2019-01-21 13:36:46 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.9ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [6 times] (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (19.6ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (64.9ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 132ms (Views: 119.6ms | ActiveRecord: 2.4ms) Started DELETE "/authz/roles/9" for 127.0.0.1 at 2019-01-21 13:36:53 +1100 Processing by Authz::RolesController#destroy as HTML Parameters: {"authenticity_token"=>"8S/6ypGiNeks8N4lJusPKzghTNcGQJzzOYdIDLK31I9cLFmT1etvkXYbqgQozuRMs/1L1vQPwAYI9zObr1+jqg==", "id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:48 Authz::RoleHasBusinessProcess Load (0.1ms) SELECT "authz_role_has_business_processes".* FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:49 Authz::RoleHasBusinessProcess Destroy (0.3ms) DELETE FROM "authz_role_has_business_processes" WHERE "authz_role_has_business_processes"."id" = ? [["id", 52]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:49 Authz::Role Destroy (0.1ms) DELETE FROM "authz_roles" WHERE "authz_roles"."id" = ? [["id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:49 Redirected to http://localhost:3000/authz/roles  (0.9ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 8ms (ActiveRecord: 2.0ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:36:53 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (31.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.2ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 98ms (Views: 88.0ms | ActiveRecord: 1.4ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:36:55 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (20.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (34.8ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (68.1ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (3.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (130.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 203ms (Views: 187.2ms | ActiveRecord: 3.0ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:38:26 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (11.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.6ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (70.5ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (125.7ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 194ms (Views: 180.4ms | ActiveRecord: 2.9ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:38:40 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (13.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (69.6ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (124.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 196ms (Views: 181.3ms | ActiveRecord: 3.0ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:38:52 +1100  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.8ms) Authz::ControllerAction Load (0.3ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (12.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (530.9ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 User Load (0.3ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (611.4ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1114ms (Views: 1064.7ms | ActiveRecord: 5.0ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:39:27 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.3ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (71.9ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (3.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (126.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 212ms (Views: 197.4ms | ActiveRecord: 3.1ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:41:10 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (23.9ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (12.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (69.0ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (5.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (122.6ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 193ms (Views: 177.9ms | ActiveRecord: 3.0ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:41:50 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.2ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (517.9ms) User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (11.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (584.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (5.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1099ms (Views: 1050.6ms | ActiveRecord: 3.5ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:43:56 +1100 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (16.8ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (61.7ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (104.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.6ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 167ms (Views: 155.1ms | ActiveRecord: 1.4ms) Started GET "/authz/roles/1" for 127.0.0.1 at 2019-01-21 13:44:10 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" WHERE "authz_roles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:11 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByCity"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Authz::ScopingRule Load (0.1ms) SELECT "authz_scoping_rules".* FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."authz_role_id" = ? LIMIT ? [["scopable", "ScopableByClearance"], ["authz_role_id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/roles_controller.rb:16 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.1ms) Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? LIMIT ? OFFSET ? [["authz_role_id", 1], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim:20  (0.2ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? [["authz_role_id", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (16.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (528.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/scoping_rules"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 User Load (0.1ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" WHERE "authz_role_grants"."authz_role_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_role_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/show.html.slim within layouts/authz/application (608.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 1111ms (Views: 1058.5ms | ActiveRecord: 5.5ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:45:37 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (32.1ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 103ms (Views: 91.0ms | ActiveRecord: 1.4ms) Started GET "/authz/roles/new" for 127.0.0.1 at 2019-01-21 13:45:39 +1100 Processing by Authz::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (2.0ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:13 User Load (0.1ms) SELECT "users".* FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim:20 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_fields.html.slim (6.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_help.html.slim (2.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/new.html.slim within layouts/authz/application (45.6ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 111ms (Views: 100.1ms | ActiveRecord: 1.4ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:46:45 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (33.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 103ms (Views: 90.9ms | ActiveRecord: 1.5ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:47:16 +1100 Processing by Authz::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (9.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (23.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (38.7ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 107ms (Views: 95.5ms | ActiveRecord: 1.6ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:47:49 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.0ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (18.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (38.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (5.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 631ms (Views: 592.7ms | ActiveRecord: 2.1ms) Started GET "/authz/roles" for 127.0.0.1 at 2019-01-21 13:48:07 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (10.6ms)  (0.1ms) SELECT COUNT(*) FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:2 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [7 times] (12.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (27.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/index.html.slim within layouts/authz/application (56.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 539ms (Views: 499.2ms | ActiveRecord: 2.9ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 13:50:39 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (10.4ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 79ms (Views: 67.6ms | ActiveRecord: 1.2ms) Started GET "/authz/users/3" for 127.0.0.1 at 2019-01-21 13:51:24 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.3ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [8 times] (10.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.3ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 3], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (25.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (577.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (646.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 723ms (Views: 705.1ms | ActiveRecord: 3.0ms) Started GET "/authz/users/3" for 127.0.0.1 at 2019-01-21 13:52:04 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_empty_association.html.slim (3.1ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [8 times] (10.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.0ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 3], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (26.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (64.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (114.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 185ms (Views: 171.9ms | ActiveRecord: 2.6ms) Started GET "/authz/users/3" for 127.0.0.1 at 2019-01-21 13:52:11 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.5ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [8 times] (10.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (23.3ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 3], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (24.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (61.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (122.2ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 193ms (Views: 178.0ms | ActiveRecord: 2.7ms) Started GET "/authz/users/3" for 127.0.0.1 at 2019-01-21 13:55:47 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.5ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [8 times] (10.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.0ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_empty_association.html.slim (3.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (69.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 160ms (Views: 145.9ms | ActiveRecord: 2.3ms) Started GET "/authz/users/3" for 127.0.0.1 at 2019-01-21 13:56:00 +1100 Processing by Authz::RolablesController#show as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/rolables_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.1ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:17 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [8 times] (10.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (23.5ms) Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? LIMIT ? OFFSET ? [["rolable_id", 3], ["rolable_type", "User"], ["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim:25  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" INNER JOIN "authz_roles" ON "authz_role_has_business_processes"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 3], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (25.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (63.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/show.html.slim within layouts/authz/application (126.1ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.3ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 196ms (Views: 181.3ms | ActiveRecord: 2.7ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 13:56:52 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (10.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 78ms (Views: 66.7ms | ActiveRecord: 1.3ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 13:58:39 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (15.5ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 86ms (Views: 73.7ms | ActiveRecord: 1.4ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 13:59:29 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolablesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (18.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (5.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 538ms (Views: 499.0ms | ActiveRecord: 2.1ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 13:59:49 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by Authz::RolablesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.2ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (32.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 528ms (Views: 487.1ms | ActiveRecord: 3.0ms) Started GET "/authz/users" for 127.0.0.1 at 2019-01-21 13:59:55 +1100 Processing by Authz::RolablesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application  (0.1ms) SELECT COUNT(*) FROM "users" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:7 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim:10 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/index.html.slim within layouts/authz/application (15.6ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 83ms (Views: 71.5ms | ActiveRecord: 1.4ms) Started GET "/authz/" for 127.0.0.1 at 2019-01-21 14:00:50 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" NOT IN (?, ?) [["scopable", "ScopableByCity"], ["scopable", "ScopableByClearance"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application  (0.1ms) SELECT "cities"."name" FROM "cities" ↳ app/scopables/scopable_by_city.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByCity"], ["keyword", "New York"], ["keyword", "San Francisco"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44  (0.1ms) SELECT "clearances"."name" FROM "clearances" ↳ app/scopables/scopable_by_clearance.rb:5  (0.1ms) SELECT "authz_scoping_rules"."keyword" FROM "authz_scoping_rules" WHERE "authz_scoping_rules"."scopable" = ? AND "authz_scoping_rules"."keyword" NOT IN (?, ?, ?) [["scopable", "ScopableByClearance"], ["keyword", "top-secret"], ["keyword", "secret"], ["keyword", "All"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim:44 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (637.4ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 723ms (Views: 694.5ms | ActiveRecord: 3.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:01:25 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.5ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (24.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (72.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (88.7ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 159ms (Views: 145.9ms | ActiveRecord: 1.8ms) Started GET "/authz/controller_actions/80" for 127.0.0.1 at 2019-01-21 14:05:40 +1100 Processing by Authz::ControllerActionsController#show as HTML Parameters: {"id"=>"80"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application Authz::BusinessProcess Load (0.2ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 80], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (3.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.9ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 80], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:17 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.9ms) User Load (0.3ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_controller_action_id", 80], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (9.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application (68.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 150ms (Views: 125.6ms | ActiveRecord: 2.7ms) Started GET "/authz/controller_actions/80" for 127.0.0.1 at 2019-01-21 14:07:00 +1100 Processing by Authz::ControllerActionsController#show as HTML Parameters: {"id"=>"80"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 80], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (3.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (18.1ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 80], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:20 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (4.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.4ms) User Load (0.3ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_controller_action_id", 80], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (6.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application (63.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.3ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 133ms (Views: 119.7ms | ActiveRecord: 2.7ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:07:05 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (25.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (72.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (87.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (9.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 163ms (Views: 150.9ms | ActiveRecord: 1.9ms) Started GET "/authz/controller_actions/new" for 127.0.0.1 at 2019-01-21 14:07:09 +1100 Processing by Authz::ControllerActionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_basic_fields.html.slim (2.7ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_help.html.slim (2.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/new.html.slim within layouts/authz/application (37.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 107ms (Views: 94.3ms | ActiveRecord: 1.3ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/validations/controller_names/new?controller_action%5Bcontroller%5D=foo" for 127.0.0.1 at 2019-01-21 14:07:14 +1100 Processing by Authz::Validations::ControllerNamesController#new as JSON Parameters: {"controller_action"=>{"controller"=>"foo"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/validations/controller_names"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started GET "/authz/validations/action_names/new?controller_action%5Baction%5D=bar&controller_name=foo" for 127.0.0.1 at 2019-01-21 14:07:21 +1100 Processing by Authz::Validations::ActionNamesController#new as JSON Parameters: {"controller_action"=>{"action"=>"bar"}, "controller_name"=>"foo"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/authz/validations/action_names/new?controller_action%5Baction%5D=bar&controller_name=undefined" for 127.0.0.1 at 2019-01-21 14:08:46 +1100 Processing by Authz::Validations::ActionNamesController#new as JSON Parameters: {"controller_action"=>{"action"=>"bar"}, "controller_name"=>"undefined"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/validations/action_names"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.7ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:08:53 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.0ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (23.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (73.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (88.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 157ms (Views: 145.3ms | ActiveRecord: 1.8ms) Started GET "/authz/controller_actions?controller_actions_page=2" for 127.0.0.1 at 2019-01-21 14:09:02 +1100 Processing by Authz::ControllerActionsController#index as HTML Parameters: {"controller_actions_page"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 25]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (24.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (85.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (100.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 170ms (Views: 159.0ms | ActiveRecord: 1.9ms) Started GET "/authz/controller_actions/44" for 127.0.0.1 at 2019-01-21 14:09:06 +1100 Processing by Authz::ControllerActionsController#show as HTML Parameters: {"id"=>"44"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 44], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 44], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:14 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_empty_association.html.slim (3.6ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 44], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:20 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_empty_association.html.slim (3.2ms) User Load (0.3ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_controller_action_id", 44], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (4.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application (35.2ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 105ms (Views: 91.9ms | ActiveRecord: 2.1ms) Started DELETE "/authz/controller_actions/44" for 127.0.0.1 at 2019-01-21 14:09:21 +1100 Processing by Authz::ControllerActionsController#destroy as HTML Parameters: {"authenticity_token"=>"nb97zJOB83PpSIY9YNxvNG3E6U5l320WO+YK+1/rCHgwvNiV18ipC7Oj8hxu+YRT5hjuT5eQMeMKlnFsQgN/XQ==", "id"=>"44"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 44], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:42 Authz::BusinessProcessHasControllerAction Load (0.1ms) SELECT "authz_business_process_has_controller_actions".* FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? [["authz_controller_action_id", 44]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:43 Authz::ControllerAction Destroy (0.3ms) DELETE FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? [["id", 44]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:43 Redirected to http://localhost:3000/authz/controller_actions  (1.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 302 Found in 8ms (ActiveRecord: 2.4ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:09:21 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.2ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (35.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (82.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (98.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 169ms (Views: 158.9ms | ActiveRecord: 2.0ms) Started GET "/authz/controller_actions?controller_actions_page=2" for 127.0.0.1 at 2019-01-21 14:09:26 +1100 Processing by Authz::ControllerActionsController#index as HTML Parameters: {"controller_actions_page"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 25]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (25.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (84.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (98.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 168ms (Views: 156.1ms | ActiveRecord: 1.8ms) Started GET "/authz/controller_actions/55" for 127.0.0.1 at 2019-01-21 14:09:42 +1100 Processing by Authz::ControllerActionsController#show as HTML Parameters: {"id"=>"55"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.1ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 55], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 55], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (3.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.0ms) Authz::Role Load (0.1ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 55], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:20 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (15.6ms) User Load (0.3ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_controller_action_id", 55], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (5.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application (60.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 127ms (Views: 114.1ms | ActiveRecord: 2.5ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:11:38 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (24.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (73.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (88.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 156ms (Views: 143.7ms | ActiveRecord: 1.7ms) Started GET "/authz/controller_actions/new" for 127.0.0.1 at 2019-01-21 14:11:40 +1100 Processing by Authz::ControllerActionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (2.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_basic_fields.html.slim (2.7ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim (2.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_help.html.slim (2.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/new.html.slim within layouts/authz/application (36.7ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 105ms (Views: 93.8ms | ActiveRecord: 1.2ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:12:20 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.8ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (24.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (71.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (86.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 156ms (Views: 143.2ms | ActiveRecord: 2.0ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:13:44 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.1ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.3ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (25.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (74.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (89.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 159ms (Views: 148.0ms | ActiveRecord: 2.0ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:13:45 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.7ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (24.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (72.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (87.3ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 155ms (Views: 143.0ms | ActiveRecord: 1.8ms) Started GET "/authz/controller_actions" for 127.0.0.1 at 2019-01-21 14:14:49 +1100 Processing by Authz::ControllerActionsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.9ms)  (0.1ms) SELECT COUNT(*) FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:12 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [25 times] (24.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (73.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/index.html.slim within layouts/authz/application (89.0ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 157ms (Views: 145.3ms | ActiveRecord: 1.8ms) Started GET "/authz/controller_actions/80" for 127.0.0.1 at 2019-01-21 14:15:02 +1100 Processing by Authz::ControllerActionsController#show as HTML Parameters: {"id"=>"80"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:10 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::BusinessProcess Load (0.1ms) SELECT DISTINCT "authz_business_processes".* FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 80], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:14 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [1 times] (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (17.4ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? LIMIT ? OFFSET ? [["authz_controller_action_id", 80], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim:20 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.0ms) User Load (0.3ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" INNER JOIN "authz_business_processes" ON "authz_role_has_business_processes"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_controller_action_id", 80], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/show.html.slim within layouts/authz/application (64.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 142ms (Views: 128.5ms | ActiveRecord: 2.5ms) Started GET "/authz/controller_actions/80/edit" for 127.0.0.1 at 2019-01-21 14:15:05 +1100 Processing by Authz::ControllerActionsController#edit as HTML Parameters: {"id"=>"80"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:29 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.6ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4  (0.1ms) SELECT "authz_business_processes"."id" FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? [["authz_controller_action_id", 80]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_help.html.slim (2.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application (25.9ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 98ms (Views: 84.4ms | ActiveRecord: 1.6ms) Started GET "/authz/controller_actions/80/edit" for 127.0.0.1 at 2019-01-21 14:15:13 +1100 Processing by Authz::ControllerActionsController#edit as HTML Parameters: {"id"=>"80"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:29 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.7ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4  (0.1ms) SELECT "authz_business_processes"."id" FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? [["authz_controller_action_id", 80]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_help.html.slim (2.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application (26.1ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 95ms (Views: 83.3ms | ActiveRecord: 1.5ms) Started GET "/authz/controller_actions/80/edit" for 127.0.0.1 at 2019-01-21 14:15:14 +1100 Processing by Authz::ControllerActionsController#edit as HTML Parameters: {"id"=>"80"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:29 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.7ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4  (0.1ms) SELECT "authz_business_processes"."id" FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? [["authz_controller_action_id", 80]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim (3.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_help.html.slim (2.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application (26.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 98ms (Views: 87.1ms | ActiveRecord: 1.6ms) Started GET "/authz/controller_actions/80/edit" for 127.0.0.1 at 2019-01-21 14:15:15 +1100 Processing by Authz::ControllerActionsController#edit as HTML Parameters: {"id"=>"80"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:29 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.7ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4  (0.1ms) SELECT "authz_business_processes"."id" FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? [["authz_controller_action_id", 80]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_help.html.slim (2.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application (25.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (9.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 97ms (Views: 87.0ms | ActiveRecord: 1.3ms) Started GET "/authz/controller_actions/80/edit" for 127.0.0.1 at 2019-01-21 14:16:37 +1100 Processing by Authz::ControllerActionsController#edit as HTML Parameters: {"id"=>"80"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."id" = ? LIMIT ? [["id", 80], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/controller_actions_controller.rb:29 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.7ms)  (0.1ms) SELECT "authz_business_processes"."name", "authz_business_processes"."id" FROM "authz_business_processes" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4  (0.2ms) SELECT "authz_business_processes"."id" FROM "authz_business_processes" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_business_processes"."id" = "authz_business_process_has_controller_actions"."authz_business_process_id" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? [["authz_controller_action_id", 80]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim:4 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_association_fields.html.slim (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_help.html.slim (2.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/edit.html.slim within layouts/authz/application (26.7ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 96ms (Views: 84.5ms | ActiveRecord: 1.5ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 14:18:43 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (3.1ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (12.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (27.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (42.5ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 121ms (Views: 108.7ms | ActiveRecord: 1.5ms) Started GET "/authz/business_processes/9" for 127.0.0.1 at 2019-01-21 14:18:56 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:12  (0.1ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (59.1ms) Authz::Role Load (0.1ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:18 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (4.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.5ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (8.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (104.0ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 177ms (Views: 159.9ms | ActiveRecord: 2.4ms) Started GET "/authz/business_processes/9" for 127.0.0.1 at 2019-01-21 14:20:30 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.1ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:17  (0.1ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (59.3ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:23 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (15.6ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (5.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (102.3ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.0ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 172ms (Views: 158.7ms | ActiveRecord: 2.7ms) Started GET "/authz/business_processes/9" for 127.0.0.1 at 2019-01-21 14:20:35 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.1ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:17  (0.1ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (12.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (61.0ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:23 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.1ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (5.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (105.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 176ms (Views: 161.9ms | ActiveRecord: 2.7ms) Started GET "/authz/business_processes/9" for 127.0.0.1 at 2019-01-21 14:20:40 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.2ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:17  (0.1ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (58.8ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:23 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (17.2ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (6.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (105.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (2.1ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 183ms (Views: 170.0ms | ActiveRecord: 2.8ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 14:20:59 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.9ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.6ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (24.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (40.0ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 107ms (Views: 95.5ms | ActiveRecord: 1.6ms) Started GET "/authz/business_processes/new" for 127.0.0.1 at 2019-01-21 14:21:01 +1100 Processing by Authz::BusinessProcessesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/new.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.8ms)  (0.1ms) SELECT "authz_roles"."name", "authz_roles"."id" FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim (6.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_help.html.slim (2.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/new.html.slim within layouts/authz/application (30.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 101ms (Views: 88.6ms | ActiveRecord: 1.5ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 14:22:14 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.7ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (11.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (40.8ms) Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 109ms (Views: 97.3ms | ActiveRecord: 1.6ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 14:22:35 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.7ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (4.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (19.5ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 90ms (Views: 78.7ms | ActiveRecord: 1.4ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 14:22:42 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.8ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (40.8ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 118ms (Views: 106.6ms | ActiveRecord: 1.6ms) Started GET "/authz/business_processes" for 127.0.0.1 at 2019-01-21 14:23:20 +1100 Processing by Authz::BusinessProcessesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/shared/_index_navbar_content.html.slim (2.9ms) Authz::BusinessProcess Load (0.2ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 25], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim:2 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_business_process.html.slim [9 times] (10.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_table.html.slim (25.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/index.html.slim within layouts/authz/application (40.2ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.4ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.7ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 111ms (Views: 98.5ms | ActiveRecord: 1.7ms) Started GET "/authz/business_processes/9" for 127.0.0.1 at 2019-01-21 14:23:45 +1100 Processing by Authz::BusinessProcessesController#show as HTML Parameters: {"id"=>"9"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:11 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Load (0.1ms) SELECT DISTINCT "authz_controller_actions".* FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:17  (0.1ms) SELECT COUNT(DISTINCT "authz_controller_actions"."id") FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim:3 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_controller_action.html.slim [10 times] (11.1ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/controller_actions/_table.html.slim (57.7ms) Authz::Role Load (0.2ms) SELECT DISTINCT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? LIMIT ? OFFSET ? [["authz_business_process_id", 9], ["LIMIT", 10], ["OFFSET", 0]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim:23 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered collection of /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_role.html.slim [1 times] (3.5ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/roles/_table.html.slim (16.2ms) User Load (0.2ms) SELECT DISTINCT "users".* FROM "users" INNER JOIN "authz_role_grants" ON "users"."id" = "authz_role_grants"."rolable_id" INNER JOIN "authz_roles" ON "authz_role_grants"."authz_role_id" = "authz_roles"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? AND "authz_role_grants"."rolable_type" = ? [["authz_business_process_id", 9], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim:11 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/rolables/_table_from_association.html.slim (5.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/show.html.slim within layouts/authz/application (101.6ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.7ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 172ms (Views: 157.7ms | ActiveRecord: 2.7ms) Started GET "/authz/business_processes/9/edit" for 127.0.0.1 at 2019-01-21 14:23:47 +1100 Processing by Authz::BusinessProcessesController#edit as HTML Parameters: {"id"=>"9"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::BusinessProcess Load (0.3ms) SELECT "authz_business_processes".* FROM "authz_business_processes" WHERE "authz_business_processes"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/business_processes_controller.rb:34 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/edit.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_error_messages.html.slim (1.8ms)  (0.1ms) SELECT "authz_roles"."name", "authz_roles"."id" FROM "authz_roles" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12  (0.1ms) SELECT "authz_roles"."id" FROM "authz_roles" INNER JOIN "authz_role_has_business_processes" ON "authz_roles"."id" = "authz_role_has_business_processes"."authz_role_id" WHERE "authz_role_has_business_processes"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:12 Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16  (0.1ms) SELECT "authz_controller_actions"."id" FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" WHERE "authz_business_process_has_controller_actions"."authz_business_process_id" = ? [["authz_business_process_id", 9]] ↳ /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim:16 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_fields.html.slim (7.8ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/_help.html.slim (2.3ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/business_processes/edit.html.slim within layouts/authz/application (33.0ms) Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (7.9ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 104ms (Views: 89.9ms | ActiveRecord: 2.1ms) ActionController::RoutingError (No route matches [GET] "/assets/img/switch.png"): actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `block in call' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:65:in `block (3 levels) in broadcast' activesupport (5.2.2) lib/active_support/logger_silence.rb:21:in `silence' activesupport (5.2.2) lib/active_support/logger.rb:63:in `block (2 levels) in broadcast' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:11:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run' /Users/sergio_rodriguez/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' Started GET "/" for 127.0.0.1 at 2019-01-21 21:42:07 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (11.7ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.3ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (31.7ms) Rendered layouts/_flash.html.slim (4.5ms) Completed 200 OK in 171ms (Views: 164.6ms | ActiveRecord: 2.0ms) Started GET "/" for 127.0.0.1 at 2019-01-21 21:42:51 +1100  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (7.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.2ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (73.8ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 548ms (Views: 544.3ms | ActiveRecord: 2.5ms) Started GET "/foo/" for 127.0.0.1 at 2019-01-21 21:42:55 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.0ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (537.1ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (42.0ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (3.9ms)  (0.1ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 724ms (Views: 692.0ms | ActiveRecord: 3.1ms) Started GET "/" for 127.0.0.1 at 2019-01-21 21:44:47 +1100 Processing by VisitorsController#index as HTML Rendering visitors/index.html.slim within layouts/application Rendered visitors/index.html.slim within layouts/application (1.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ app/views/layouts/application.html.slim:15 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered layouts/_nav.html.slim (7.7ms) Rendered layouts/_flash.html.slim (1.7ms) Completed 200 OK in 41ms (Views: 38.1ms | ActiveRecord: 0.8ms) Started GET "/foo/" for 127.0.0.1 at 2019-01-21 21:44:49 +1100 Processing by Authz::HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/.rvm/gems/ruby-2.5.3@authz/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98 Authz::Role Load (0.1ms) SELECT "authz_roles".* FROM "authz_roles" INNER JOIN "authz_role_grants" ON "authz_roles"."id" = "authz_role_grants"."authz_role_id" WHERE "authz_role_grants"."rolable_id" = ? AND "authz_role_grants"."rolable_type" = ? [["rolable_id", 1], ["rolable_type", "User"]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:98 Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "properties"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "routes"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/info"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/mailers"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "visitors"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/sessions"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/passwords"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "cancel"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "devise/registrations"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "clearances"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "cities"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "edit"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "show"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "reports"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "new"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "announcements"], ["action", "destroy"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/disk"], ["action", "update"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "active_storage/direct_uploads"], ["action", "create"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9 Authz::ControllerAction Load (0.1ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "rails/welcome"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:9  (0.1ms) SELECT "authz_scoping_rules"."scopable" FROM "authz_scoping_rules" WHERE 1=1 ↳ /Users/sergio_rodriguez/workspace/authz/app/controllers/authz/home_controller.rb:13 Rendering /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application Rendered /Users/sergio_rodriguez/workspace/authz/app/views/authz/home/index.html.slim within layouts/authz/application (5.8ms) CACHE Authz::ControllerAction Exists (0.0ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/home"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.3ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/roles"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/business_processes"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/controller_actions"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Authz::ControllerAction Exists (0.1ms) SELECT 1 AS one FROM "authz_controller_actions" INNER JOIN "authz_business_process_has_controller_actions" ON "authz_controller_actions"."id" = "authz_business_process_has_controller_actions"."authz_controller_action_id" INNER JOIN "authz_business_processes" ON "authz_business_process_has_controller_actions"."authz_business_process_id" = "authz_business_processes"."id" INNER JOIN "authz_role_has_business_processes" ON "authz_business_processes"."id" = "authz_role_has_business_processes"."authz_business_process_id" WHERE "authz_role_has_business_processes"."authz_role_id" = ? AND "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["authz_role_id", 1], ["controller", "authz/rolables"], ["action", "index"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/permission_manager.rb:5 Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_menu.html.slim (8.2ms) Rendered /Users/sergio_rodriguez/workspace/authz/app/views/layouts/authz/_navigation.html.slim (1.8ms)  (0.0ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/lib/authz/controllers/authorization_manager.rb:136 Completed 200 OK in 87ms (Views: 61.7ms | ActiveRecord: 4.1ms) Authz::BusinessProcess Load (0.1ms) SELECT "authz_business_processes".* FROM "authz_business_processes" ORDER BY "authz_business_processes"."id" DESC LIMIT ? [["LIMIT", 1]] Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" ORDER BY "authz_controller_actions"."id" DESC LIMIT ? [["LIMIT", 1]]  (0.1ms) begin transaction Authz::BusinessProcessHasControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 80], ["authz_business_process_id", 9], ["LIMIT", 1]]  (0.1ms) rollback transaction Authz::ControllerAction Load (1.6ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%')  (0.0ms) begin transaction Authz::BusinessProcessHasControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_business_process_has_controller_actions" WHERE "authz_business_process_has_controller_actions"."authz_controller_action_id" = ? AND "authz_business_process_has_controller_actions"."authz_business_process_id" = ? LIMIT ? [["authz_controller_action_id", 45], ["authz_business_process_id", 9], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.8ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.8ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.6ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.7ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.6ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.6ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.8ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.5ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-21 11:47:28.537684"], ["updated_at", "2019-01-21 11:47:28.537684"]] ↳ db/schema.rb:13  (0.7ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-21 11:47:28.541515"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.7ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 Authz::ControllerAction Load (3.5ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') LIMIT ? [["LIMIT", 11]]  (0.3ms) SELECT "authz_controller_actions"."controller", "authz_controller_actions"."action" FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%') Authz::ControllerAction Load (0.2ms) SELECT "authz_controller_actions".* FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%')  (0.3ms) SELECT "authz_controller_actions"."controller", "authz_controller_actions"."action" FROM "authz_controller_actions" WHERE (controller LIKE 'authz/%')  (0.1ms) begin transaction Authz::ControllerAction Exists (0.2ms) SELECT 1 AS one FROM "authz_controller_actions" WHERE "authz_controller_actions"."controller" = ? AND "authz_controller_actions"."action" = ? LIMIT ? [["controller", "authz/home"], ["action", "[\"index\"]"], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions"  (0.2ms) SELECT COUNT(*) FROM "authz_controller_actions"  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (0.9ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.6ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.7ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.8ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.7ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.8ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.8ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.7ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.6ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.6ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.7ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.7ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.6ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.5ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.1ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.7ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.7ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.7ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-21 14:28:23.238768"], ["updated_at", "2019-01-21 14:28:23.238768"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-21 14:28:23.242419"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.5ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.1ms) DROP TABLE IF EXISTS "announcement_cities" ↳ db/schema.rb:15  (0.0ms) SELECT sqlite_version(*) ↳ db/schema.rb:15  (1.0ms) CREATE TABLE "announcement_cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "announcement_id" integer, "city_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_announcement_id" ON "announcement_cities" ("announcement_id") ↳ db/schema.rb:15  (0.7ms) CREATE INDEX "index_announcement_cities_on_city_id" ON "announcement_cities" ("city_id") ↳ db/schema.rb:15  (0.1ms) DROP TABLE IF EXISTS "announcements" ↳ db/schema.rb:24  (0.9ms) CREATE TABLE "announcements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:24  (0.1ms) DROP TABLE IF EXISTS "authz_business_process_has_controller_actions" ↳ db/schema.rb:30  (0.6ms) CREATE TABLE "authz_business_process_has_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_controller_action_id" integer, "authz_business_process_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:30  (1.3ms) CREATE INDEX "authz_bphca_business_process_index" ON "authz_business_process_has_controller_actions" ("authz_business_process_id") ↳ db/schema.rb:30  (0.6ms) CREATE INDEX "authz_bphca_controller_action_index" ON "authz_business_process_has_controller_actions" ("authz_controller_action_id") ↳ db/schema.rb:30  (0.1ms) DROP TABLE IF EXISTS "authz_business_processes" ↳ db/schema.rb:39  (0.7ms) CREATE TABLE "authz_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:39  (0.1ms) DROP TABLE IF EXISTS "authz_controller_actions" ↳ db/schema.rb:47  (0.7ms) CREATE TABLE "authz_controller_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "controller" varchar, "action" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:47  (0.1ms) DROP TABLE IF EXISTS "authz_role_grants" ↳ db/schema.rb:54  (0.6ms) CREATE TABLE "authz_role_grants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_role_id" integer NOT NULL, "rolable_type" varchar NOT NULL, "rolable_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:54  (0.7ms) CREATE INDEX "authz_role_grants_role_index" ON "authz_role_grants" ("authz_role_id") ↳ db/schema.rb:54  (0.6ms) CREATE INDEX "authz_role_grants_rolable_index" ON "authz_role_grants" ("rolable_type", "rolable_id") ↳ db/schema.rb:54  (0.1ms) DROP TABLE IF EXISTS "authz_role_has_business_processes" ↳ db/schema.rb:64  (0.7ms) CREATE TABLE "authz_role_has_business_processes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "authz_business_process_id" integer, "authz_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_business_process_index" ON "authz_role_has_business_processes" ("authz_business_process_id") ↳ db/schema.rb:64  (0.7ms) CREATE INDEX "authz_rhbp_role_index" ON "authz_role_has_business_processes" ("authz_role_id") ↳ db/schema.rb:64  (0.1ms) DROP TABLE IF EXISTS "authz_roles" ↳ db/schema.rb:73  (0.6ms) CREATE TABLE "authz_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:73  (0.1ms) DROP TABLE IF EXISTS "authz_scoping_rules" ↳ db/schema.rb:81  (0.6ms) CREATE TABLE "authz_scoping_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "scopable" varchar, "authz_role_id" integer NOT NULL, "keyword" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:81  (0.7ms) CREATE INDEX "index_authz_scoping_rules_on_authz_role_id" ON "authz_scoping_rules" ("authz_role_id") ↳ db/schema.rb:81  (0.5ms) CREATE INDEX "index_authz_scoping_rules_on_keyword" ON "authz_scoping_rules" ("keyword") ↳ db/schema.rb:81  (0.5ms) CREATE INDEX "index_authz_scoping_rules_on_scopable" ON "authz_scoping_rules" ("scopable") ↳ db/schema.rb:81  (0.2ms) DROP TABLE IF EXISTS "cities" ↳ db/schema.rb:92  (0.6ms) CREATE TABLE "cities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:92  (0.1ms) DROP TABLE IF EXISTS "clearances" ↳ db/schema.rb:98  (0.6ms) CREATE TABLE "clearances" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "level" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:98  (0.1ms) DROP TABLE IF EXISTS "ratings" ↳ db/schema.rb:105  (0.6ms) CREATE TABLE "ratings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "user_id" integer, "score" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:105  (0.6ms) CREATE INDEX "index_ratings_on_report_id" ON "ratings" ("report_id") ↳ db/schema.rb:105  (0.7ms) CREATE INDEX "index_ratings_on_user_id" ON "ratings" ("user_id") ↳ db/schema.rb:105  (0.1ms) DROP TABLE IF EXISTS "reports" ↳ db/schema.rb:115  (0.6ms) CREATE TABLE "reports" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "clearance_id" integer, "city_id" integer, "title" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:115  (0.5ms) CREATE INDEX "index_reports_on_city_id" ON "reports" ("city_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_clearance_id" ON "reports" ("clearance_id") ↳ db/schema.rb:115  (0.6ms) CREATE INDEX "index_reports_on_user_id" ON "reports" ("user_id") ↳ db/schema.rb:115  (0.1ms) DROP TABLE IF EXISTS "users" ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") ↳ db/schema.rb:128  (0.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") ↳ db/schema.rb:128  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) ↳ db/schema.rb:13  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ db/schema.rb:13  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190104080155) ↳ db/schema.rb:13  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20181129002252), (20181128052541), (20181128042315), (20190103083513), (20190104075934), (20181128063016), (20190102030242), (20181129024103), (20181129091325), (20181129131405), (20181129080058), (20181130053841), (20181129220317);  ↳ db/schema.rb:13  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ db/schema.rb:13  (0.0ms) begin transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-21 14:30:46.087732"], ["updated_at", "2019-01-21 14:30:46.087732"]] ↳ db/schema.rb:13  (0.6ms) commit transaction ↳ db/schema.rb:13 ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.0ms) begin transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14 ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-01-21 14:30:46.091182"], ["key", "environment"]] ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14  (0.4ms) commit transaction ↳ /Users/sergio_rodriguez/workspace/authz/bin/rails:14